ideaweb / firefox-safari-style

A macOS compliant theme for Firefox
MIT License
184 stars 13 forks source link

Hiding Single Tab in Firefox 110 #55

Open fmccann opened 1 year ago

fmccann commented 1 year ago

The suggested userChrome styles for hiding a single tab does not work in Firefox 110. If anyone else is having this problem, this seems to work:

#tabbrowser-tabs .tabbrowser-tab:only-of-type,
#tabbrowser-tabs .tabbrowser-tab:only-of-type + #tabbrowser-arrowscrollbox-periphery {
  display: none !important;
}

#tabbrowser-tabs, #tabbrowser-arrowscrollbox {
  min-height: 0 !important;
}
paer76 commented 1 year ago

Just make sure to remove the tab list too otherwise it will show and look awful.

I had to toggle this off

browser.tabs.tabmanager.enabled

paer76 commented 1 year ago

This should also do the trick👌

#tabbrowser-tabs .tabbrowser-tab:only-of-type,#alltabs-button .tabbrowser-tab:only-of-type,
#tabbrowser-tabs .tabbrowser-tab:only-of-type + #tabbrowser-arrowscrollbox-periphery {
  display: none !important;
}

#tabbrowser-tabs, #tabbrowser-arrowscrollbox {
  min-height: 0 !important;
}
NyaomiDEV commented 1 year ago

This does not fully work on LibreWolf 110.

zhengxiaosong commented 1 year ago

This does not work on FireFox 118.0.1 (64 位); macOS: 13.3.1 (22E261), any else help?