搜索 | 用户支持

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

详细了解

How to reduce default tab size

  • 2 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

Hi, i would like to reduce the default tab size, how do i do that?

Hi, i would like to reduce the default tab size, how do i do that?
已附加屏幕截图

被采纳的解决方案

That would involve overriding this rule via code in userChrome.css. Note that you need to add the !important flag.

.tabbrowser-tab:not([pinned]) { max-width: 150px !important; }

See also:

.tabbrowser-tab:not([pinned]) {
  flex: 100 100;
  max-width: 225px;
  min-width: var(--tab-min-width);
  transition: min-width 100ms ease-out,
              max-width 100ms ease-out;
}

定位到答案原位置 👍 0

所有回复 (2)

more options

Hi. Assuming you mean the width, enter about:config in the address bar and change the value in the following preference. browser.tabs.tabMinWidth The minimum you can set is 50.

https://support.mozilla.org/en-US/kb/about-config-editor-firefox

more options

选择的解决方案

That would involve overriding this rule via code in userChrome.css. Note that you need to add the !important flag.

.tabbrowser-tab:not([pinned]) { max-width: 150px !important; }

See also:

.tabbrowser-tab:not([pinned]) {
  flex: 100 100;
  max-width: 225px;
  min-width: var(--tab-min-width);
  transition: min-width 100ms ease-out,
              max-width 100ms ease-out;
}