Skip to content

Commit 5e181f6

Browse files
committed
tweak sidebar scrollbar
1 parent 6bdd17f commit 5e181f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

themes/vue/source/css/page.styl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,15 @@ $header-height = 40px
9393
top 0
9494
left 60px
9595
bottom 0
96-
overflow-y scroll
9796
padding 2.2em 0
9897
width 260px
9998
margin-right 20px
99+
overflow-x hidden
100+
overflow-y auto
100101
-webkit-overflow-scrolling touch
102+
-ms-overflow-style none
103+
&::-webkit-scrollbar
104+
width: 0 !important
101105
h2
102106
margin-top .2em
103107
ul

0 commit comments

Comments
 (0)