Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Søg i 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.

Læs mere

How to reduce default tab size

  • 2 svar
  • 0 har dette problem
  • 3644 visninger
  • Seneste svar af 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?
Vedhæftede skærmbilleder

Valgt løsning

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

Læs dette svar i sammenhæng 👍 0

Alle svar (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

Valgt løsning

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