Reset z-index of vertical tabs always to prevent tabs are shown above other browser elements.

See also #586 and #843
This commit is contained in:
Piro / YUKI Hiroshi 2015-02-21 03:27:37 +09:00
parent 04242a8158
commit d6be4e6396

View File

@ -118,3 +118,16 @@
.tab-icon-image:not([src]):not([pinned]) { .tab-icon-image:not([src]):not([pinned]) {
display: -moz-box; display: -moz-box;
} }
/* Don't show vertical tabs above other browser elements.
See also:
https://github.com/piroor/treestyletab/issues/586
https://github.com/piroor/treestyletab/pull/843
*/
.tabbrowser-tabs[treestyletab-mode="vertical"]
.tabbrowser-tab:not([selected="true"]),
.tabbrowser-tabs[treestyletab-mode="vertical"]
.tabbrowser-tab[selected="true"] {
z-index: auto;
}