diff --git a/web/viewer.css b/web/viewer.css index f4c9feba6..48c31ce81 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -1247,6 +1247,16 @@ dialog :link { white-space: normal; width: auto; + &:is(a) { + padding-top: 5px; + text-decoration: none; + + &[href="#"] { + opacity: 0.5; + pointer-events: none; + } + } + &::before { inset-inline-start: 12px; opacity: var(--doorhanger-icon-opacity); @@ -1264,16 +1274,6 @@ dialog :link { } } - a.toolbarButton { - padding-top: 5px; - text-decoration: none; - - &[href="#"] { - opacity: 0.5; - pointer-events: none; - } - } - #secondaryToolbarButtonContainer { margin-bottom: -4px; max-height: calc(var(--viewer-container-height) - 40px);