mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-10 15:42:01 +03:00
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:
parent
92dd4e3125
commit
ec8b2f6448
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue