Re-specify positioning of the overlay icon in a pinned tab, based on the "em" scale

This commit is contained in:
YUKI Hiroshi 2015-10-26 15:12:18 +09:00
parent 27d9164d9c
commit e2aaae03ae

View File

@ -345,6 +345,15 @@ tabbrowser[treestyletab-tabbar-position="bottom"]
width: 16px; 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 */ /* disable highlighting of pinned tabs whici is not faviconized */
.tabbrowser-tabs[treestyletab-mode="vertical"] .tabbrowser-tabs[treestyletab-mode="vertical"]