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

Tab label height and its margins #449

Open
innuendofloyd opened this issue Nov 25, 2024 · 1 comment
Open

Tab label height and its margins #449

innuendofloyd opened this issue Nov 25, 2024 · 1 comment

Comments

@innuendofloyd
Copy link

innuendofloyd commented Nov 25, 2024

Hello,

Forgive me if this is not the right place to ask this.

I'm on Firefox beta 133.

I'm trying to reduce the height of tab label, together with "autohide_bookmarks_and_main_toolbars.css"

I use these lines:
:root { --tab-min-height: 24px !important; }
:root #tabbrowser-tabs { --tab-min-height: 24px !important; }

And changed this with -40px, to avoid gap under the tab label container, when main toolbar and bookmars are auto-hidden:

:root[uidensity="compact"] #navigator-toolbox{
--uc-navbar-height: -40px;

But it just doesn't feel right. After the changes made, now the urlbar height is increased:

urlbar

Sometimes when I launch or reboot the browser, the urlbar height is correct but toolbar overlaps tab label:

urlbar2

Anyone can help please? Thank you

@MrOtherGuy
Copy link
Owner

If you want a simple way to achieve that then instead of trying to modify that --uc-navbar-height value, just add this at the end:

#TabsToolbar{
  margin-bottom: -6px;
}

Alternatively you might try non_floating_sharp_tabs.css

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

2 participants