Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
perf:Optimize the scroll bar, compatible with different platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
hunter-ji committed Mar 8, 2022
1 parent 9da67a1 commit 9baf875
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,15 @@ body {
min-width: 100%;
}

::-webkit-scrollbar{
width: 5px;
height: 5px;
}
::-webkit-scrollbar-thumb{
border-radius: 1em;
background-color: rgba(50,50,50,.3);
}
::-webkit-scrollbar-track{
border-radius: 1em;
background-color: rgba(50,50,50,.1);
}

0 comments on commit 9baf875

Please sign in to comment.