From c40b5ecb8560b404e072aecf0987b87707c3c99f Mon Sep 17 00:00:00 2001 From: hua03 Date: Mon, 14 Nov 2022 18:23:02 +0800 Subject: [PATCH] style: optimize scrollbars style (#68) --- scripts/style/style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/style/style.css b/scripts/style/style.css index ff36858..3e6a277 100644 --- a/scripts/style/style.css +++ b/scripts/style/style.css @@ -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; }