From fe64b85282e3781797e5eec33c07fc7b26adeb58 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sun, 1 Dec 2024 11:57:54 -0500 Subject: [PATCH] Address the feedback Signed-off-by: Suguru Hirahara --- res/css/structures/_AutoHideScrollbar.pcss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/res/css/structures/_AutoHideScrollbar.pcss b/res/css/structures/_AutoHideScrollbar.pcss index 4515a445653..834770d83a1 100644 --- a/res/css/structures/_AutoHideScrollbar.pcss +++ b/res/css/structures/_AutoHideScrollbar.pcss @@ -10,6 +10,19 @@ Please see LICENSE files in the repository root for full details. html { scrollbar-color: $scrollbar-thumb-color transparent; } +/* SC: disabled */ +/* scrollbar-width is not inherited (but -color is, why?!), */ +/* so declare it on every element */ +/* +* { + scrollbar-width: thin; +} + +::-webkit-scrollbar { + width: 6px; + height: 6px; +} +*/ ::-webkit-scrollbar-thumb { border-radius: 3px;