From bc640990a6b5a9c9b859adc1b1d07f4b6998a895 Mon Sep 17 00:00:00 2001 From: Piro / SHIMODA Hiroshi Date: Thu, 2 Feb 2012 03:13:55 +0900 Subject: [PATCH] When both Tab Mix Plus and any third-party's theme are installed, collapsed tabs in the horizontal tab bar couldn't be collapsed. --- content/treestyletab/treestyletab.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/treestyletab/treestyletab.css b/content/treestyletab/treestyletab.css index 132e6e8d..6b36af5e 100644 --- a/content/treestyletab/treestyletab.css +++ b/content/treestyletab/treestyletab.css @@ -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;