When both Tab Mix Plus and any third-party's theme are installed, collapsed tabs in the horizontal tab bar couldn't be collapsed.

This commit is contained in:
Piro / SHIMODA Hiroshi 2012-02-02 03:13:55 +09:00
parent bf9f48dfdb
commit bc640990a6

View File

@ -44,6 +44,14 @@
position: relative;
}
.tabbrowser-tabs[treestyletab-allow-subtree-collapse="true"][treestyletab-stack-collapsed-tabs="true"]
.tabbrowser-tab[treestyletab-collapsed="true"][fadein],
/**
* Tab Mix Plus dynamically inserts a CSS rule like
* "#tabbrowser-tabs > .tabbrowser-tab { ... }" and it unexpectedly
* expands width of "collapsed" tabs. So, to apply our rule prior than
* TMP's one, I put the "#tabbrowser-tabs" version also.
*/
#tabbrowser-tabs[treestyletab-allow-subtree-collapse="true"][treestyletab-stack-collapsed-tabs="true"]
.tabbrowser-tab[treestyletab-collapsed="true"][fadein] {
visibility: visible;
max-width: 20px;