Skip to content

Commit

Permalink
feat: 添加webkit滚动条美化
Browse files Browse the repository at this point in the history
  • Loading branch information
cadecode committed Apr 20, 2023
1 parent 561a7b5 commit 65d41c7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/style/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@
@import './element-ui.scss';
@import './sidebar.scss';

::-webkit-scrollbar {
width: 6px;
height: 6px
}

::-webkit-scrollbar-thumb {
min-height: 28px;
background-color: #c2c2c2!important;
background-clip: padding-box;
border-radius: 0!important
}

::-webkit-scrollbar-track-piece {
background-color: #fff
}

body {
height: 100%;
-moz-osx-font-smoothing: grayscale;
Expand Down

0 comments on commit 65d41c7

Please sign in to comment.