From 3c10c66cd36b0404e92edc42cba24b6b33cc56ac Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Mon, 25 Apr 2022 14:46:10 +0200 Subject: [PATCH] Remove unused CSS rules for toolbar buttons with `textButton`-classes Searching through all of the files in the `web/`-folder has no *other* hits for the "textButton" string. Hence it's clear that there are no DOM elements actually using this class, and it's thus dead code. --- web/viewer.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/viewer.css b/web/viewer.css index 094845b79..e8d23334f 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -625,9 +625,7 @@ select { .splitToolbarButton > .toolbarButton:hover, .splitToolbarButton > .toolbarButton:focus-visible, -.dropdownToolbarButton:hover, -.toolbarButton.textButton:hover, -.toolbarButton.textButton:focus-visible { +.dropdownToolbarButton:hover { background-color: var(--button-hover-color); } .splitToolbarButton > .toolbarButton {