From 1ac0c4f874a43f0c4791dd26c1003ca5a5c457bf Mon Sep 17 00:00:00 2001 From: zadam Date: Sat, 20 Jul 2019 22:14:40 +0200 Subject: [PATCH] fix scrollbar styling in both ff and chrome (white corner in dark themes when both scrollbars are present) --- src/public/stylesheets/desktop.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/public/stylesheets/desktop.css b/src/public/stylesheets/desktop.css index 30beb328d..6d2a33013 100644 --- a/src/public/stylesheets/desktop.css +++ b/src/public/stylesheets/desktop.css @@ -134,6 +134,11 @@ li.dropdown-submenu:hover > ul.dropdown-menu { border-style: solid; } +body { + /* FF basic styling */ + scrollbar-color: var(--active-item-background-color) var(--main-background-color); +} + ::-webkit-scrollbar { width: 12px; } @@ -143,6 +148,10 @@ li.dropdown-submenu:hover > ul.dropdown-menu { border: 1px solid var(--main-border-color); } +::-webkit-scrollbar-corner { + background-color: inherit; +} + #note-info-table td, #note-info-table th { padding: 15px; }