On Aug 14th 11 PM ET/Aug 15th 03:00 UTC, due to scheduled Firefox Account server maintenance, users may not be able to sign in or create a new subscription. This is expected to last approximately 30 minutes. Status updates can be found at https://status.vpn.mozilla.org or https://status.relay.firefox.com.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Decrease Tab bar width

  • 4 replies
  • 1 has this problem
  • 27 views
  • Last reply by cor-el

more options

Is there a way to decrease the width of Tab bar?

Is there a way to decrease the width of Tab bar?

Chosen solution

You can possibly choose density compact mode.

You can also use code in userChrome.css to set a CSS variable.

*|*:root {
  --tab-min-height: 28px !important;
}


It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder with the random name (xxxxxxxx.default-release).

You can find the button to go to the profile folder under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in the profile folder with the random name (name is all lowercase). In the chrome folder you need to create a plain text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted. On Mac you can use the TextEdit utility to create the userChrome.css file as a plain text file.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

More info about userContent.css and userChrome.css in case you are not familiar: *https://www.userchrome.org/what-is-userchrome-css.html

Read this answer in context 👍 1

All Replies (4)

more options

What do you mean with "Decrease Tab bar width" ?

What would be the purpose of this ? You can drag other toolbar buttons/items to the Tab bar to reduce the space used for the tabs.

Helpful?

more options

I feel that this tab area is taking some area of my display so I want to reduce its width in vertical direction

Helpful?

more options

Hi, the steps to decrease tab bar width as follow:

1. Enter 'about:config' in the search bar. 2. Click on the 'Accept the Risk and Continue' button. 3. Search for 'browser.tabs.tabMinWidth'. 4. Edit the value that you prefer. (default in 76) 5. You may need to restart Firefox for these to take effect.

Hope this helps. Best Regards!

Helpful?

more options

Chosen Solution

You can possibly choose density compact mode.

You can also use code in userChrome.css to set a CSS variable.

*|*:root {
  --tab-min-height: 28px !important;
}


It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder with the random name (xxxxxxxx.default-release).

You can find the button to go to the profile folder under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in the profile folder with the random name (name is all lowercase). In the chrome folder you need to create a plain text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted. On Mac you can use the TextEdit utility to create the userChrome.css file as a plain text file.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

More info about userContent.css and userChrome.css in case you are not familiar: *https://www.userchrome.org/what-is-userchrome-css.html

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.