-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Hide solo tab #52
Comments
This may be an issue, as UI of safari has new tab button in top menu bar area, however in firefox shows in the tabs bar. |
This user seems to have found workable CSS with the new proton FireFox to hide a single tab, maybe you can integrate into white Sur? https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/hide_tabs_with_one_tab.css |
As for the new tab button, given this is a pretty niche theme that needs to be installed via bash script, I bet most users are using command + T :) |
You can manually drag the new tab button to the top menu bar |
Good pickup! I only learnt last month that you could customise the toolbar and drag it up for that clean look |
I'll look into integrating something. It'd most likely be an install option for users looking to customise! |
This worked for me after some trial and error: #tabbrowser-tabs, #tabbrowser-tabs arrowscrollbox {
height: auto !important;
padding: 0 !important;
}
#TabsToolbar {
min-height: 0 !important;
}
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"]:not([pinned]),
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"]:not([pinned]) ~ #titlebar {
display: none;
} |
Yeah, but it isn't really animated and it looks pretty janky :( |
Thanks @luan for the code! I am satisfied as Safari has the same look when going to solo tab view. |
Could you please make the solo tab to hide to make it look more like safari?
the code below kinda works:
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"]:not([pinned]),
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"]:not([pinned]) ~ toolbarbutton {
visibility: collapse;
}
but the tab area remains black.
The text was updated successfully, but these errors were encountered: