Skip to content

Commit

Permalink
style: 增加滚动条样式
Browse files Browse the repository at this point in the history
  • Loading branch information
wei-zone committed Feb 23, 2024
1 parent 95da177 commit 888c5dc
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/assets/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,28 @@ body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}


::-webkit-scrollbar {
width: 10px;
}

::-webkit-scrollbar-track {
background: rgb(179, 177, 177);
border-radius: 10px;
}

::-webkit-scrollbar-thumb {
background: rgb(136, 136, 136);
border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
background: rgb(100, 100, 100);
border-radius: 10px;
}

::-webkit-scrollbar-thumb:active {
background: rgb(68, 68, 68);
border-radius: 10px;
}

0 comments on commit 888c5dc

Please sign in to comment.