X
Tap here to go to the mobile version of the site.

Support Forum

How to limit tab minimum size & put new tabs on new line?

Posted

Is there any way to duplicate the functionality of the old Tab Mix Plus addon with regards to the minimum size of tabs, and/or adding new tabs onto another line at the top of your browser when there are enough open tabs?

I'm not exactly certain how it was done, but basically there was a minimum width that a tab could occupy, say 10% of screen width as an example. When 10 tabs were opened they would appear as per usual at the top of the browser. When the 11th tab was opened, a second tab bar would appear just below the first. You could continue to open any number of tabs and they would remain wide enough to read the titles and would never have to use the drop down at the edge of the screen to select tabs that were hidden.

Please let me know if there's a setting somewhere to enable this behavior again, thanks.

Is there any way to duplicate the functionality of the old Tab Mix Plus addon with regards to the minimum size of tabs, and/or adding new tabs onto another line at the top of your browser when there are enough open tabs? I'm not exactly certain how it was done, but basically there was a minimum width that a tab could occupy, say 10% of screen width as an example. When 10 tabs were opened they would appear as per usual at the top of the browser. When the 11th tab was opened, a second tab bar would appear just below the first. You could continue to open any number of tabs and they would remain wide enough to read the titles and would never have to use the drop down at the edge of the screen to select tabs that were hidden. Please let me know if there's a setting somewhere to enable this behavior again, thanks.

Chosen solution

By default, tabs start at 225 pixels and shrink down to 76 pixels as more are added. You can specify your own minimum using a built-in setting. However, Firefox will still display scroll arrows on the one-line tab bar, there's no built-in way to have a multi-line tab bar.

There are ways to "wrap" the tab bar to multiple lines using custom style rules, which you apply to Firefox by creating a userChrome.css file in a specific location. I don't know how reliable that is, but I'll give you some leads.

Change Minimum Tab Width

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste tabm and pause while the list is filtered

(3) Double-click the browser.tabs.tabMinWidth preference to display a dialog where you can edit the default value of 76 to your preferred value (no lower than 50, no higher than 225), then click OK

Multi-row Tab Bar

Read this answer in context 1

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763

More Information

jscher2000
  • Top 10 Contributor
8632 solutions 70600 answers

Chosen Solution

By default, tabs start at 225 pixels and shrink down to 76 pixels as more are added. You can specify your own minimum using a built-in setting. However, Firefox will still display scroll arrows on the one-line tab bar, there's no built-in way to have a multi-line tab bar.

There are ways to "wrap" the tab bar to multiple lines using custom style rules, which you apply to Firefox by creating a userChrome.css file in a specific location. I don't know how reliable that is, but I'll give you some leads.

Change Minimum Tab Width

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste tabm and pause while the list is filtered

(3) Double-click the browser.tabs.tabMinWidth preference to display a dialog where you can edit the default value of 76 to your preferred value (no lower than 50, no higher than 225), then click OK

Multi-row Tab Bar

By default, tabs start at 225 pixels and shrink down to 76 pixels as more are added. You can specify your own minimum using a built-in setting. However, Firefox will still display scroll arrows on the one-line tab bar, there's no built-in way to have a multi-line tab bar. There are ways to "wrap" the tab bar to multiple lines using custom style rules, which you apply to Firefox by creating a userChrome.css file in a specific location. I don't know how reliable that is, but I'll give you some leads. '''Change Minimum Tab Width''' (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk. (2) In the search box above the list, type or paste '''tabm''' and pause while the list is filtered (3) Double-click the '''browser.tabs.tabMinWidth''' preference to display a dialog where you can edit the default value of 76 to your preferred value (no lower than 50, no higher than 225), then click OK '''Multi-row Tab Bar''' * [https://support.mozilla.org/questions/1229639 multiline tabs | Firefox Support Forum | Mozilla Support] * [https://www.reddit.com/r/firefox/comments/alkqot/firefox_65_breaks_custom_multirow_tabs/ Firefox 65 breaks custom multi-row tabs : firefox : reddit] (many links to different rule sets)

Question owner

Thanks for the help. The multi-row tab bar actually ended up overwriting the min tab width in the .css script, but with a little bit of tweaking in that style script I was able to get the tabs to work almost like they did before. Moving the tabs around is a little wonky but otherwise it's perfect. Thanks jscher2000

Thanks for the help. The multi-row tab bar actually ended up overwriting the min tab width in the .css script, but with a little bit of tweaking in that style script I was able to get the tabs to work almost like they did before. Moving the tabs around is a little wonky but otherwise it's perfect. Thanks jscher2000