Skip to content

Commit

Permalink
fix: replace default style of scrollbars for webkit browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
csm-thu committed Feb 7, 2024
1 parent f247174 commit 8423e09
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ body {
'Droid Sans', 'Helvetica Neue', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

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

::-webkit-scrollbar-track {
background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
background: #8a8a8a;
}
}

code {
Expand Down

0 comments on commit 8423e09

Please sign in to comment.