From 01e2489846cc4a5800268afad75f8c21226571be Mon Sep 17 00:00:00 2001 From: gramps Date: Tue, 14 Jul 2026 13:55:53 -0700 Subject: [PATCH] fix: visible scrollbar (8px, track visible, Firefox compat) --- templates/index.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/index.html b/templates/index.html index 10e03de..2bbb936 100644 --- a/templates/index.html +++ b/templates/index.html @@ -27,6 +27,7 @@ --warning: #ffaa00; --border: #1a3060; --scrollbar: #1a3060; + --scrollbar-track: rgba(255,255,255,0.04); --radius: 6px; --font-body: 'JetBrains Mono', 'Consolas', monospace; --font-mono: 'JetBrains Mono', 'Consolas', monospace; @@ -34,10 +35,11 @@ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); height: 100vh; overflow: hidden; display: flex; font-size: 13px; } ::selection { background: var(--accent); color: var(--bg-primary); } -::-webkit-scrollbar { width: 4px; } -::-webkit-scrollbar-track { background: transparent; } -::-webkit-scrollbar-thumb { background: var(--scrollbar); border-radius: 2px; } -::-webkit-scrollbar-thumb:hover { background: var(--text-muted); } +::-webkit-scrollbar { width: 8px; } +::-webkit-scrollbar-track { background: var(--scrollbar-track); } +::-webkit-scrollbar-thumb { background: var(--scrollbar); border-radius: 4px; border: 2px solid transparent; background-clip: content-box; } +::-webkit-scrollbar-thumb:hover { background: var(--text-muted); border: 2px solid transparent; background-clip: content-box; } +* { scrollbar-width: thin; scrollbar-color: var(--scrollbar) var(--scrollbar-track); } /* --- slide-out drawer (replaces sidebar) --- */ .drawer-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:90; display:none; }