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

How to reduce default tab size

  • 2 replies
  • 0 have this problem
  • 1 view
  • Last reply by 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?
Attached screenshots

Chosen solution

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;
}

Read this answer in context 👍 0

All Replies (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

Chosen Solution

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;
}