style: optimize scrollbars style ()

This commit is contained in:
hua03 2022-11-14 18:23:02 +08:00 committed by GitHub
parent 9c3ad5a300
commit c40b5ecb85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,6 +10,17 @@ body {
'Segoe UI Emoji';
}
::-webkit-scrollbar {
background: transparent;
width: 8px;
height: 8px;
}
::-webkit-scrollbar-thumb {
background: var(--color-fg-muted);
border-radius: 10px;
}
[data-color-mode*='dark'] body .dark {
display: none;
}