Skip to content

Commit 1e49b20

Browse files
committed
scrollbar width mobile
1 parent 80a5467 commit 1e49b20

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

styles/components/_scrollbar.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
$scrollbar-width: 9px;
2+
$scrollbar-width-mobile: 4px;
23
$scrollbar-radius: 16px;
34
$scrollbar-thumb-border: 4px;
45

@@ -27,3 +28,11 @@ $scrollbar-thumb-border: 4px;
2728
background-color: transparent !important;
2829
}
2930
}
31+
32+
@media only screen and (max-width: 670px) {
33+
* {
34+
&::-webkit-scrollbar {
35+
width: $scrollbar-width-mobile !important;
36+
}
37+
}
38+
}

0 commit comments

Comments
 (0)