Skip to content
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

Auto hide tabs when there is only one #63

Open
munro opened this issue Jan 2, 2025 · 1 comment
Open

Auto hide tabs when there is only one #63

munro opened this issue Jan 2, 2025 · 1 comment

Comments

@munro
Copy link

munro commented Jan 2, 2025

Is it possible to auto hide the tabs bar if there is only 1 tab?

Here's what I see in firefox:

Screenshot 2025-01-02 at 10 50 16 AM

And here's safari (it hides the tab bar)

Screenshot 2025-01-02 at 10 47 17 AM

This probably isn't helpful, but I had also tried this minimal Firefox theme which says it autohides tab bar—but it didn't work for me: https://gist.github.com/morrolinux/87aa37396432ea5d14a9220bc4892100

@munro
Copy link
Author

munro commented Jan 2, 2025

Hmmm, I hadn't use the install script, but it's still not working!

I also copied the code

#alltabs-button,
#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,
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"]:not([pinned]) ~ #tabbrowser-arrowscrollbox-periphery {
  visibility: collapse;
}

https://github.com/ideaweb/firefox-safari-style?tab=readme-ov-file#hide-solo-tab

and it's still not working 😢

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant