From e2aaae03aeda5e8fa9e5d309395715be00480869 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Mon, 26 Oct 2015 15:12:18 +0900 Subject: [PATCH] Re-specify positioning of the overlay icon in a pinned tab, based on the "em" scale --- skin/classic/treestyletab/ui-base.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/skin/classic/treestyletab/ui-base.css b/skin/classic/treestyletab/ui-base.css index 29cb5ae2..d681529b 100644 --- a/skin/classic/treestyletab/ui-base.css +++ b/skin/classic/treestyletab/ui-base.css @@ -345,6 +345,15 @@ tabbrowser[treestyletab-tabbar-position="bottom"] width: 16px; } +/* overlay icon: because TST applies "min-height:2em" for tabs, overlay icons also should be rendered based on the "em" scale. */ +.tabbrowser-tabs[treestyletab-mode="vertical"] + .tab-content[pinned="true"] > image.tab-icon-overlay { + height: 1em; + width: 1em; + margin-top: -0.7em !important; + -moz-margin-start: -1em !important; +} + /* disable highlighting of pinned tabs whici is not faviconized */ .tabbrowser-tabs[treestyletab-mode="vertical"]