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 33140 6bd07d6df445e0bc62a51fb0c5e8d04d46f0c979
parent 33139 74645ed304c4a2ccdfb505e2d6a6f7095e2ff4d3
child 33141 af0e2b9566cc94b3164d0e3c3dde0ee2fdd33ae8
push id798
push userdgottwald@mozilla.com
push dateTue, 24 Nov 2009 20:42:48 +0000
reviewersventnor
bugs528750
milestone1.9.2b4pre
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
@@ -1224,17 +1224,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: 0px;
 }