r/FirefoxCSS • • Oct 02 '26

Help Remove gap below tabs

Post image

I use a few CSS tricks to compress tabs and maximize vertical real estate, and also use MrOtherGuy firefox-csshacks to auto-hide address bar and bookmark bar.

That said, can somebody please suggest how to remove this nasty gap?

Here is my current userChrome.css: https://pastebin.com/pTXm3ZtW

3 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Giocarro Oct 03 '26

Thanks for your answer; to be honest it didn't work, and it introduced a graphical glitch perhaps because of the auto-hide CSS part of the script.

So I looked for a different way to auto-hide address-bard and bookmark and landed on this script, but it hides also tab bar, which I don't want.

https://pastebin.com/vp9ypzUJ

Is it possible to change this script to auto-hide only address bar and bookmarks bar, while keeping tabs bar always visible?

Thanks!

1

u/t31os Oct 03 '26

This is how it looks for me with the suggested changes:

https://i.postimg.cc/RZ9rj6k6/ff-gapbelowtabs.png

And no, that other CSS is based around hiding the whole navbox (that's the element that contains all the toolbars), so you can't just hide bits of it.

Perhaps you can explain more about this glitch you mentioned, i didn't noticed any such issues, but if i know what to look out for i can test for it and try to fix it (if it happens for me).