fix: convert px to rem
This commit is contained in:
@@ -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; // цвет дорожки
|
||||
|
||||
Reference in New Issue
Block a user