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.
This commit is contained in:
Horizontal42 2026-07-03 12:33:51 +03:00
parent 92dd4e3125
commit ec8b2f6448

View file

@ -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);