perf: optimize the UI of the global scrollbar

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/3445/head
Ryan Wang 2022-09-23 22:29:50 +08:00
parent 7e63538403
commit 3015587c81
1 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,11 @@ body {
border-radius: 2em;
}
*::-webkit-scrollbar {
width: 8px;
height: 8px;
}
*::-webkit-scrollbar-thumb {
background-color: #ddd;
background-clip: padding-box;