Some more, small, CSS clean-up

- Remove a redundant `margin-top` rule for the `.dropdownToolbarButton`. After the (somewhat) recent UI-refresh all buttons now use `margin: 2px 1px;`, which renders the override unnecessary (and getting rid of an `!important`-rule can't hurt).

 - Combine two `.toggled::before` rules, since they're identical.
This commit is contained in:
Jonas Jenwald 2022-04-21 15:40:38 +02:00
parent 452a98b0e0
commit 0f7e3213a1

View File

@ -691,14 +691,11 @@ select {
color: var(--toggled-btn-color);
}
.toolbarButton.toggled::before,
.secondaryToolbarButton.toggled::before {
background-color: var(--toggled-btn-color);
}
.toolbarButton.toggled::before {
background-color: var(--toggled-btn-color);
}
.toolbarButton.toggled:hover:active,
.splitToolbarButton.toggled > .toolbarButton.toggled:hover:active,
.secondaryToolbarButton.toggled:hover:active {
@ -710,7 +707,6 @@ select {
padding: 0;
overflow: hidden;
background-color: var(--dropdown-btn-bg-color);
margin-top: 2px !important;
}
.dropdownToolbarButton::after {
top: 6px;