0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

Merge pull request #898 from logto-io/charles-log-2578-improve-scrollbar-styles

style(console): improve scrollbar styles, leaving 4px margin on both sides
This commit is contained in:
Charles Zhao 2022-05-19 23:26:43 +08:00 committed by GitHub
commit 8c77e65cb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,16 +57,18 @@ table {
} }
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 8px; width: 16px;
} }
::-webkit-scrollbar:horizontal { ::-webkit-scrollbar:horizontal {
height: 8px; height: 16px;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background: var(--color-neutral-variant-80); background: var(--color-neutral-variant-80);
border-radius: 4px; background-clip: content-box;
border: 4px solid transparent;
border-radius: 8px;
} }
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {