Bug 528750 - Sidebar close button is squeezed, tabstrip closebutton makes the tabstrip higher (browser.tabs.closeButtons=3). r=ventnor
authorDão Gottwald <dao@mozilla.com>
Sun, 15 Nov 2009 10:28:39 +0100
changeset 34880 3405d57427a5d608d75ec58c01fe0ec047c0107e
parent 34879 ead0f1b18d5fb0c416d68d673ff7ca69c8516843
child 34881 9e21b9924687c814a8f53157d6d2186c015cfc10
push idunknown
push userunknown
push dateunknown
reviewersventnor
bugs528750
milestone1.9.3a1pre
Bug 528750 - Sidebar close button is squeezed, tabstrip closebutton makes the tabstrip higher (browser.tabs.closeButtons=3). r=ventnor
browser/themes/gnomestripe/browser/browser.css
--- a/browser/themes/gnomestripe/browser/browser.css
+++ b/browser/themes/gnomestripe/browser/browser.css
@@ -1263,17 +1263,19 @@ tabpanels {
 /* Tabstrip close button */
 .tabs-closebutton {
   list-style-image: url("moz-icon://stock/gtk-close?size=menu");
   border: none;
   margin-bottom: 1px;
 }
 
 .tabs-closebutton > .toolbarbutton-icon {
-  margin: 0;
+  /* XXX Buttons have padding in widget/ that we don't want here but can't override with good CSS, so we must
+     use evil CSS to give the impression of smaller content */
+  margin: -2px;
 }
 
 /* Tabbrowser arrowscrollbox arrows */
 .tabbrowser-arrowscrollbox > .scrollbutton-up {
   -moz-appearance: tab-scroll-arrow-back;
   margin: 0;
 }