Bug 1363732 - Remove explicit back button width in compact theme. r=dao
This made the back arrow icon resize to 18x18,
it resizes fine automatically, without the width rule.
MozReview-Commit-ID: 8zdUKG3RgO8
--- a/browser/themes/shared/compacttheme.inc.css
+++ b/browser/themes/shared/compacttheme.inc.css
@@ -190,21 +190,16 @@ toolbar:-moz-lwtheme-darktext {
border-radius: 0 !important;
padding: var(--toolbarbutton-vertical-inner-padding) 5px !important;
margin: 0 !important;
border: 1px solid var(--chrome-nav-bar-controls-border-color) !important;
box-shadow: none !important;
height: auto !important;
}
-#back-button > .toolbarbutton-icon {
- /* 18px icon + 2 * 5px padding + 2 * 1px border */
- width: 30px !important;
-}
-
/* the normal theme adds box-shadow: <stuff> !important when the back-button is [open]. Fix: */
#back-button[open="true"] > .toolbarbutton-icon {
box-shadow: none !important;
}
%ifndef MOZ_PHOTON_THEME
#forward-button > .toolbarbutton-icon {
border-inline-start: none !important;