From 76592217ff299bd4c7a0011ae4cf35cddc6798f1 Mon Sep 17 00:00:00 2001 From: chziyue Date: Mon, 6 Apr 2026 18:05:09 +0800 Subject: [PATCH] fix(ui): revert to descendant selector - tested working - First commit (f3bb4ae) with space selector tested working - Second commit broke the fix after bot suggestion - Reverting to original approach --- ui/src/styles/base.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/src/styles/base.css b/ui/src/styles/base.css index ca61d2de37e..f551abd2c35 100644 --- a/ui/src/styles/base.css +++ b/ui/src/styles/base.css @@ -188,11 +188,12 @@ } /* Scrollbar - visible on light backgrounds */ -:root[data-theme-mode="light"]::-webkit-scrollbar-thumb { +:root[data-theme-mode="light"] ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.15); + border-radius: var(--radius-full); } -:root[data-theme-mode="light"]::-webkit-scrollbar-thumb:hover { +:root[data-theme-mode="light"] ::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.25); }