Small userChrome.css file to make the tab close button work better in Firefox
This is a very minimal file with only a few rules, so it should be compatible with all Firefox versions that use Proton UI (>= 89.0) and is unlikely to get broken by updates.
- The tab close button is hidden by default
- It shows up when you hover over a tab
- You can enable always showing the close button on active tabs
- The left side separator has been removed
- The extra padding on the left on unmaximized windows is gone
- No extra space between pinned and normal tabs
If you want to always have a close button visible on the active tab, you can uncomment the last rule:
- Download this repository
- Go to
about:config
- Set
toolkit.legacyUserProfileCustomizations.stylesheets
totrue
- Go to
about:support
- Open the current profile folder
- Copy the
chrome
folder from this repository to the profile folder you just opened - Close all open Firefox windows and open Firefox again