搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Shrink tab width

  • 9 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 WFiske

more options

I need to shrink the size of my tabs, which remains constant no matter how many are open. If I have four open, I get the "+" for a new tab at the end of the tab bar. If there are five open, the tabs consume the entire width of the browser window and the "+" sign disappears. It is not found in the "customize toolbar" menu. I have tried restoring tool bar defaults and changing the uidensity to 1, but neither change shrinks the size of the tabs or gives me the "+" option.

What do I need to do to get back to the way it used to work?

I need to shrink the size of my tabs, which remains constant no matter how many are open. If I have four open, I get the "+" for a new tab at the end of the tab bar. If there are five open, the tabs consume the entire width of the browser window and the "+" sign disappears. It is not found in the "customize toolbar" menu. I have tried restoring tool bar defaults and changing the uidensity to 1, but neither change shrinks the size of the tabs or gives me the "+" option. What do I need to do to get back to the way it used to work?

被采纳的解决方案

This is possibly a case of broken CSS code in userChrome.css. See this thread:

定位到答案原位置 👍 0

所有回复 (9)

more options
more options

Doesn't help. That tabbrowser rule does not appear in the userChrome.css file.  :-(

more options

You can set the tab width to 50 (no less) using the following preference in about:config. The default is 76. browser.tabs.tabMinWidth

You could try the code in the thread below (remove the blank space).

https://www.reddit. com/r/firefox/comments/b9vjbw/wanting_my_tab_sizes_even_smaller_any_way_to/

more options

Thanks for the suggestion. I had tried that, but it didn't change the width of the tabs. If I set it larger (to say 250), the tabs will grow larger and run off the edge of the browser window (rather than adapting to that limit).

I have attached a screenshot of my window. As you can see, there are 5 very wide tabs (even though mintabswidth is set to 50), and no plus sign. I am very confused.

more options

If you only have 5 tabs, they will exceed the minimum size. Is the open tab icon in the Customize page? Evidently, it looks different there. If it's there, you can drag it to the toolbar. If it isn't there, try the button bottom right labelled Restore Defaults.

more options

选择的解决方案

This is possibly a case of broken CSS code in userChrome.css. See this thread:

more options

Thanks cor-el for the suggestion. zeroknight also suggested this in the first reply, but I checked and I did not have the #tabbrowser-tabs line in my userChrome.css. I remain baffled.

more options

Can you post the content of your userChrome.css as it is likely a problem with this file if you are using it ?

more options

I went to snag a copy of my userChrome.css to post and looked at it again. This time the problematic line was in it. I deleted it, and it seems to be fixed. I don't know how I missed it before (even doing a search in the text). I can't thank everyone enough for the help!