Skip to content

Commit d07b042

Browse files
committed
[feature] add scrollbar width controls
1 parent 841ac1c commit d07b042

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎src/css/layout.css‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,9 @@ html.is-layout-scrollbars-none,
4444
.is-layout-scrollbars-nonebody,
4545
.is-layout-scrollbars-none*{
4646
scrollbar-width: none;
47+
-webkit-scrollbar-width: none;
48+
}
49+
50+
.is-layout-scrollbars-none*::-webkit-scrollbar{
51+
display: none;
4752
}

0 commit comments

Comments
(0)