From 94112b324c3590203841219ce33e9acde6c93d1f Mon Sep 17 00:00:00 2001 From: Dotta Date: Sun, 15 Mar 2026 10:49:24 -0500 Subject: [PATCH] Fix sidebar scrollbar: hide track background when not hovering The scrollbar track background was still visible as a colored "well" even when the thumb was hidden. Now both track and thumb are fully transparent by default, only appearing on container hover. Co-Authored-By: Paperclip --- ui/src/index.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/index.css b/ui/src/index.css index 3b8a5af6..a2a3b794 100644 --- a/ui/src/index.css +++ b/ui/src/index.css @@ -178,12 +178,13 @@ background: oklch(0.5 0 0); } -/* Auto-hide scrollbar: fully transparent by default, visible on container hover */ +/* Auto-hide scrollbar: fully invisible by default, visible on container hover */ .scrollbar-auto-hide::-webkit-scrollbar-track { background: transparent !important; } .scrollbar-auto-hide::-webkit-scrollbar-thumb { background: transparent !important; + transition: background 150ms ease; } .scrollbar-auto-hide:hover::-webkit-scrollbar-track { background: oklch(0.205 0 0) !important;