Bug 1389921 - Stop setting a width on the new tab button to remove excess padding around it. r?daleharvey draft
authorDão Gottwald <dao@mozilla.com>
Fri, 18 Aug 2017 10:11:16 +0200
changeset 648738 e34ce633583f70f675fed86a0699bc8c8fc26f8e
parent 648573 a6a1f5c1d971dbee67ba6eec7ead7902351ddca2
child 726921 8c1677626913966c58890ff1ea81b2997ab2d2e6
push id74862
push userdgottwald@mozilla.com
push dateFri, 18 Aug 2017 08:12:15 +0000
reviewersdaleharvey
bugs1389921, 1377184
milestone57.0a1
Bug 1389921 - Stop setting a width on the new tab button to remove excess padding around it. r?daleharvey As of bug 1377184, this button uses the correct inner padding depending on the UI density setting, so we don't need to explicitly set a width anymore. MozReview-Commit-ID: FGQ9JVG6YwA
browser/themes/shared/tabs.inc.css
--- a/browser/themes/shared/tabs.inc.css
+++ b/browser/themes/shared/tabs.inc.css
@@ -448,20 +448,16 @@
 /* New tab button */
 
 .tabs-newtab-button,
 #TabsToolbar > #new-tab-button ,
 #TabsToolbar > toolbarpaletteitem > #new-tab-button {
   list-style-image: url(chrome://browser/skin/tabbrowser/newtab.svg);
 }
 
-.tabs-newtab-button {
-  width: 36px;
-}
-
 @media (min-resolution: 1.1dppx) {
   .tab-throbber[busy] {
     list-style-image: url("chrome://browser/skin/tabbrowser/connecting@2x.png");
   }
 
   .tab-throbber[progress] {
     list-style-image: url("chrome://global/skin/icons/loading@2x.png");
   }