Skip to content

Commit

Permalink
style: hidden scrollbar by default (#3085)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu authored May 24, 2024
1 parent 21b8e38 commit 095ba8e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/packages/__VUE/elevator/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
display: block;
position: relative;
overflow: auto;
&::-webkit-scrollbar {
display: none;
width: 0;
}
&__item {
display: block;
font-size: $elevator-list-item-font-size;
Expand Down
4 changes: 4 additions & 0 deletions src/packages/__VUE/list/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
&::-webkit-scrollbar {
display: none;
width: 0;
}

&-phantom {
position: relative;
Expand Down
4 changes: 4 additions & 0 deletions src/packages/__VUE/menuitem/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
flex-wrap: wrap;
&.nut-menu-item__overflow {
overflow-y: auto;
&::-webkit-scrollbar {
display: none;
width: 0;
}
}

.nut-menu-item__option {
Expand Down

0 comments on commit 095ba8e

Please sign in to comment.