fix: convert px to rem

This commit is contained in:
2025-06-05 11:31:49 +03:00
parent 0ba1538520
commit 6c653aa196
13 changed files with 160 additions and 139 deletions

View File

@@ -14,13 +14,13 @@
.Area {
background: $color-white;
border: 1px solid $color-darkgray;
border-radius: 20px;
padding: 10px 24px;
border-radius: rem(20px);
padding: rem(10px) rem(24px);
transition: border ease .5s;
font-family: $font-open-sans;
font-weight: $font-regular;
font-size: 24px;
font-size: rem(24px);
line-height: 100%;
color: $color-text;
@@ -35,14 +35,14 @@
cursor: auto;
}
&::-webkit-scrollbar {
width: 12px;
height: 12px;
width: rem(12px);
height: rem(12px);
}
&::-webkit-scrollbar-track,
&::-webkit-scrollbar-thumb {
background-clip: content-box;
border: 4px solid transparent;
border-radius: 12px;
border: rem(4px) solid transparent;
border-radius: rem(12px);
}
&::-webkit-scrollbar-track {
background-color: #333; // цвет дорожки