From 975ce1e1b2cc305451b2331a6eece3b33193346f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A3o=20Gottwald?= Date: Sat, 4 Sep 2010 18:52:14 +0200 Subject: [PATCH] Bug 593570 - reduce the tab close button's impact on the tab height. r+a=gavin --- browser/themes/gnomestripe/browser/browser.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/browser/themes/gnomestripe/browser/browser.css b/browser/themes/gnomestripe/browser/browser.css index 5a17a47a8a0..9eee69fecf9 100644 --- a/browser/themes/gnomestripe/browser/browser.css +++ b/browser/themes/gnomestripe/browser/browser.css @@ -1321,7 +1321,7 @@ statusbarpanel#statusbar-display { padding: 0; -moz-border-image: url(tabbrowser/tab.png) 4 5 3 6 / 4px 5px 3px 6px; -moz-border-radius: 10px 8px 0 0; - min-height: 27px; /* reserve space for the sometimes hidden close button */ + min-height: 25px; /* reserve space for the sometimes hidden close button */ } .tabbrowser-tab:hover, @@ -1367,7 +1367,7 @@ statusbarpanel#statusbar-display { } .tabbrowser-tab[pinned] { - min-height: 20px; /* corresponds to the max. height of non-textual tab contents, i.e. the tab close button */ + min-height: 18px; /* corresponds to the max. height of non-textual tab contents, i.e. the tab close button */ } .tabbrowser-tab > .tab-text { @@ -1464,6 +1464,9 @@ statusbarpanel#statusbar-display { .tab-close-button { padding: 0; list-style-image: url("moz-icon://stock/gtk-close?size=menu"); + margin-top: -1px; + margin-bottom: -1px; + -moz-margin-end: -1px; } .tabbrowser-tab[selected="true"] > .tab-close-button {