workaround for a compatibility problem with Request Policy: if Request Policy is installed the tab bar was unexpectedly shrunken (fix for https://github.com/piroor/treestyletab/issues/#issue/45 / https://www.requestpolicy.com/dev/ticket/181 )
This commit is contained in:
parent
e8b2e9d6ba
commit
93ab502fcf
@ -208,19 +208,35 @@ tabbrowser[treestyletab-tabbar-autohide-mode="1"][treestyletab-tabbar-autohide="
|
||||
max-width: 64000px !important;
|
||||
}
|
||||
|
||||
.treestyletab-tabbar-toolbar,
|
||||
@media all and (-moz-windows-compositor) {
|
||||
#navigator-toolbox[tabsontop="true"] > .treestyletab-tabbar-toolbar,
|
||||
#navigator-toolbox[tabsontop="true"] > .treestyletab-tabbar-toolbar:-moz-lwtheme,
|
||||
#navigator-toolbox
|
||||
> #nav-bar + #customToolbars
|
||||
+ #PersonalToolbar[collapsed="true"]
|
||||
+ .treestyletab-tabbar-toolbar[tabsontop="true"]:last-child,
|
||||
#navigator-toolbox
|
||||
> #nav-bar + #customToolbars
|
||||
+ #PersonalToolbar[collapsed="true"]
|
||||
+ .treestyletab-tabbar-toolbar[tabsontop="true"]:not(:last-child),
|
||||
#navigator-toolbox
|
||||
> #nav-bar + #customToolbars
|
||||
+ #PersonalToolbar[collapsed="true"]
|
||||
+ .treestyletab-tabbar-toolbar[tabsontop="false"]:last-child,
|
||||
#navigator-toolbox
|
||||
> #nav-bar + #customToolbars
|
||||
+ #PersonalToolbar[collapsed="true"]
|
||||
+ .treestyletab-tabbar-toolbar[tabsontop="false"]:not(:last-child) {
|
||||
-moz-binding: url(treestyletab.xml#toolbar-drag);
|
||||
}
|
||||
}
|
||||
.treestyletab-tabbar-toolbar {
|
||||
-moz-binding: url(treestyletab.xml#toolbar-drag);
|
||||
}
|
||||
#navigator-toolbox[tabsontop="false"] > .treestyletab-tabbar-toolbar,
|
||||
#navigator-toolbox[tabsontop="false"] > .treestyletab-tabbar-toolbar:-moz-lwtheme {
|
||||
-moz-binding: url(treestyletab.xml#toolbar);
|
||||
}
|
||||
#navigator-toolbox[tabsontop="true"] > .treestyletab-tabbar-toolbar,
|
||||
#navigator-toolbox[tabsontop="true"] > .treestyletab-tabbar-toolbar:-moz-lwtheme,
|
||||
#navigator-toolbox
|
||||
> #nav-bar + #customToolbars + #PersonalToolbar[collapsed="true"] + .treestyletab-tabbar-toolbar[tabsontop="true"]:last-child,
|
||||
#navigator-toolbox
|
||||
> #nav-bar + #customToolbars + #PersonalToolbar[collapsed="true"] + .treestyletab-tabbar-toolbar[tabsontop="false"]:last-child {
|
||||
-moz-binding: url(treestyletab.xml#toolbar-drag);
|
||||
}
|
||||
.treestyletab-tabbar-toolbar:not([treestyletab-tabbar-position="top"]),
|
||||
.treestyletab-tabbar-toolbar[treestyletab-tabbar-position="top"]:not([treestyletab-tabbar-fixed="true"]) {
|
||||
line-height: 0 !important; /* to avoid an useless space above the tab bar */
|
||||
|
Loading…
x
Reference in New Issue
Block a user