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.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Decrease Tab bar width

  • 4 回覆
  • 1 有這個問題
  • 30 次檢視
  • 最近回覆由 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?

被選擇的解決方法

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

從原來的回覆中察看解決方案 👍 1

所有回覆 (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.

有幫助嗎?

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

有幫助嗎?

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!

有幫助嗎?

more options

選擇的解決方法

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

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題