Bug 1363732 - Remove explicit back button width in compact theme. r=dao draft
authorJohann Hofmann <jhofmann@mozilla.com>
Tue, 16 May 2017 15:05:36 +0200
changeset 578772 342d4a05bc54eba29202b9c9776b740c648be8d7
parent 578175 3e166b6838931b3933ca274331f9e0e115af5cc0
child 628826 3b18677fa2a4ae81824d6e3c51ac4e8638129f26
push id59049
push userbmo:jhofmann@mozilla.com
push dateTue, 16 May 2017 13:06:46 +0000
reviewersdao
bugs1363732
milestone55.0a1
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
browser/themes/shared/compacttheme.inc.css
--- 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;