From ec8b2f64484964c4490976234cc3e5c48825b12e Mon Sep 17 00:00:00 2001 From: Horizontal42 <75383519+Horizontal42@users.noreply.github.com> Date: Fri, 3 Jul 2026 12:33:51 +0300 Subject: [PATCH] design: thin scrollbars matching the theme Default Windows scrollbars were chunky and out of place next to the minimal chrome elsewhere. WebView2 is Chromium under the hood, so a plain ::-webkit-scrollbar override works everywhere without JS. --- src/ui/app.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/app.css b/src/ui/app.css index 4f7d82e..7ea3fbb 100644 --- a/src/ui/app.css +++ b/src/ui/app.css @@ -54,6 +54,11 @@ button, .doc-item, .search-item, #rates-info, #total-line { transition: background-color 0.15s ease, color 0.15s ease; } +/* thin scrollbars everywhere (WebView2 is Chromium — ::-webkit-* applies) */ +::-webkit-scrollbar { width: 8px; height: 8px; } +::-webkit-scrollbar-track { background: transparent; } +::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; } +::-webkit-scrollbar-thumb:hover { background: var(--fg-muted); } html, body { margin: 0; height: 100%; } body { font-family: var(--font);