From e70531fcc106b7f8e4b79f40803c21d1cab28d81 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 17 Aug 2024 01:19:07 +0300 Subject: [PATCH] client: Remove broken Firefox scrollbar styling --- src/public/stylesheets/style.css | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index e2795c99f..42ba97b39 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -832,29 +832,18 @@ li.dropdown-submenu:hover > ul.dropdown-menu { transform: rotate(-90deg); } -body { - /* FF basic styling */ - scrollbar-color: var(--scrollbar-background-color) transparent; +::-webkit-scrollbar { + width: 12px; } -@supports selector(::-webkit-scrollbar) { - body { - scrollbar-color: unset; - } +::-webkit-scrollbar-thumb { + border-radius: 5px; + border: 1px solid var(--scrollbar-border-color); + background-color: var(--scrollbar-background-color); +} - ::-webkit-scrollbar { - width: 12px; - } - - ::-webkit-scrollbar-thumb { - border-radius: 5px; - border: 1px solid var(--scrollbar-border-color); - background-color: var(--scrollbar-background-color); - } - - ::-webkit-scrollbar-corner { - background-color: inherit; - } +::-webkit-scrollbar-corner { + background-color: inherit; } [data-toggle="tooltip"]:not(.button-widget) span {