Skip to content

Commit 095ba8e

Browse files
authored
style: hidden scrollbar by default (#3085)
1 parent 21b8e38 commit 095ba8e

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

src/packages/__VUE/elevator/index.scss

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
display: block;
2323
position: relative;
2424
overflow: auto;
25+
&::-webkit-scrollbar {
26+
display: none;
27+
width: 0;
28+
}
2529
&__item {
2630
display: block;
2731
font-size: $elevator-list-item-font-size;

src/packages/__VUE/list/index.scss

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
overflow-x: hidden;
55
overflow-y: auto;
66
-webkit-overflow-scrolling: touch;
7+
&::-webkit-scrollbar {
8+
display: none;
9+
width: 0;
10+
}
711

812
&-phantom {
913
position: relative;

src/packages/__VUE/menuitem/index.scss

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
flex-wrap: wrap;
3030
&.nut-menu-item__overflow {
3131
overflow-y: auto;
32+
&::-webkit-scrollbar {
33+
display: none;
34+
width: 0;
35+
}
3236
}
3337

3438
.nut-menu-item__option {

0 commit comments

Comments
 (0)