diff --git a/web/viewer.css b/web/viewer.css index 48c31ce811d11..b2ce01f33d684 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -1213,27 +1213,8 @@ dialog :link { z-index: 50000; /* should be higher than anything else in PDF.js! */ } -#secondaryToolbar { - background-color: var(--doorhanger-bg-color); - cursor: default; - font: message-box; - font-size: 12px; - height: auto; - inset-inline-end: 4px; - line-height: 14px; - margin: 4px 2px; - padding: 6px 0 10px; - position: absolute; - text-align: left; - top: var(--toolbar-height); - z-index: 30000; - - :is(button, a) { - font: message-box; - outline: none; - } - - .toolbarButton { +.toolbarButton { + &.labeled { border-radius: 0; display: inline-block; height: auto; @@ -1273,6 +1254,27 @@ dialog :link { padding-inline-end: 4px; } } +} + +#secondaryToolbar { + background-color: var(--doorhanger-bg-color); + cursor: default; + font: message-box; + font-size: 12px; + height: auto; + inset-inline-end: 4px; + line-height: 14px; + margin: 4px 2px; + padding: 6px 0 10px; + position: absolute; + text-align: left; + top: var(--toolbar-height); + z-index: 30000; + + :is(button, a) { + font: message-box; + outline: none; + } #secondaryToolbarButtonContainer { margin-bottom: -4px; diff --git a/web/viewer.html b/web/viewer.html index 423dad49a2017..fdfc12d5b4db1 100644 --- a/web/viewer.html +++ b/web/viewer.html @@ -227,7 +227,7 @@