Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

How to reduce default tab size

  • 2 отговора
  • 0 имат този проблем
  • 1886 изгледи
  • Последен отговор от 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;
}