Skip to content

The open-source app everyone uses to manage agents at work

fix(ui): hide scrollbar track background when sidebar is not hovered

Dotta825d2b475903
diff --git a/ui/src/index.css b/ui/src/index.css
index 7b0eee34a1..3ba08932c2 100644
--- a/ui/src/index.css
+++ b/ui/src/index.css
@@ -178,10 +178,16 @@
background: oklch(0.5 0 0);
}
-/* Auto-hide scrollbar: transparent by default, visible on container hover */
+/* Auto-hide scrollbar: fully transparent by default, visible on container hover */
+.scrollbar-auto-hide::-webkit-scrollbar-track {
+ background: transparent !important;
+}
.scrollbar-auto-hide::-webkit-scrollbar-thumb {
background: transparent !important;
}
+.scrollbar-auto-hide:hover::-webkit-scrollbar-track {
+ background: oklch(0.205 0 0) !important;
+}
.scrollbar-auto-hide:hover::-webkit-scrollbar-thumb {
background: oklch(0.4 0 0) !important;
}