X
Нажмите здесь, чтобы перейти на мобильную версию сайта.

Форум поддержки

Pinned tabs show part of the title and got wider (version 72.0.1)

Размещено

It looks like (at least on macOS 10.15.2) the latest update (72.0.1) introduced either a bug or a change in how pinned tabs are rendered as since today I noticed that my pinned tabs are a lot wider and are showing part of the title (see attached image, the first two tabs are pinned tabs).

Is this something I can change or customize, or is this a bug?

It looks like (at least on macOS 10.15.2) the latest update (72.0.1) introduced either a bug or a change in how pinned tabs are rendered as since today I noticed that my pinned tabs are a lot wider and are showing part of the title (see attached image, the first two tabs are pinned tabs). Is this something I can change or customize, or is this a bug?
Приложенные скриншоты

Выбранное решение

You aren't using code in userChrome.css that could cause this because pinned tabs set the text label width to 0px, so you should never see text ?

.tab-label-container[pinned] {
    width: 0;
}
Прочитайте этот ответ в контексте 1
Цитата

Дополнительные сведения о системе

Установленные плагины

1Password

Приложение

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0

Дополнительная информация

cor-el
  • Top 10 Contributor
  • Moderator
17777 решений 160821 ответов
Размещено

Выбранное решение

You aren't using code in userChrome.css that could cause this because pinned tabs set the text label width to 0px, so you should never see text ?

.tab-label-container[pinned] {
    width: 0;
}
You aren't using code in userChrome.css that could cause this because pinned tabs set the text label width to 0px, so you should never see text ? <pre><nowiki>.tab-label-container[pinned] { width: 0; }</nowiki></pre>
Помогла ли вам это? 1
Цитата

Задавший вопрос

Thanks for the pointer! My userChrome.css looked like this and it turns out the last part caused the isssue...

``` @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* Use the full titlebar for tabs */ .titlebar-spacer[type="pre-tabs"] {

 width: 13px !important;
 max-width: 13px !important;

} .titlebar-spacer[type="post-tabs"] {

 width: 0px !important;
 max-width: 0px !important;

}

/* Always show the close button when hovering over a tab */ .tabbrowser-tab:not([pinned="true"]):hover .tab-close-button:not([selected="true"]) {

 display: -moz-box !important;

}

/* Do not show the blue tab line */ .tabbrowser-tab .tab-line {

 display: none !important;

}

/* Prevent tab overflow */ .tabbrowser-tab {

 min-width: initial !important;

} .tab-content {

 overflow: hidden !important; ===> this cause the issue

} ```

After removing the last 3 lines it all works again, but if I open a lot of tabs I do get the overflow again. Do you know another way to prevent that?

Thanks for your help!!

Thanks for the pointer! My userChrome.css looked like this and it turns out the last part caused the isssue... ``` @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* Use the full titlebar for tabs */ .titlebar-spacer[type="pre-tabs"] { width: 13px !important; max-width: 13px !important; } .titlebar-spacer[type="post-tabs"] { width: 0px !important; max-width: 0px !important; } /* Always show the close button when hovering over a tab */ .tabbrowser-tab:not([pinned="true"]):hover .tab-close-button:not([selected="true"]) { display: -moz-box !important; } /* Do not show the blue tab line */ .tabbrowser-tab .tab-line { display: none !important; } /* Prevent tab overflow */ .tabbrowser-tab { min-width: initial !important; } .tab-content { overflow: hidden !important; ===> this cause the issue } ``` After removing the last 3 lines it all works again, but if I open a lot of tabs I do get the overflow again. Do you know another way to prevent that? Thanks for your help!!
Помогла ли вам это?
Цитата

Задавший вопрос

Well it actually fine without those 3 lines. It does overflow, but only when I have way more tabs open then I should. So I'm good with just removing the three lines and leaving it like that.

Thanks again!

Well it actually fine without those 3 lines. It does overflow, but only when I have way more tabs open then I should. So I'm good with just removing the three lines and leaving it like that. Thanks again!
Помогла ли вам это?
Цитата
cor-el
  • Top 10 Contributor
  • Moderator
17777 решений 160821 ответов
Размещено

In what way does it overflow?

Can you attach a screenshot ?

In what way does it overflow? Can you attach a screenshot ? *https://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem *use a compressed image type like PNG or JPG to save the screenshot
Помогла ли вам это?
Цитата

Задавший вопрос

Thanks for the follow up, but its really not needed. I happy with my config again and it only overflows when there are way too many tabs open. So I'm good!

For reference I'm talking about this behavior (tab scrolling/overflow, not sure what to call it): https://www.reddit.com/r/firefox/comments/b3slhs/why_is_there_absolutely_no_possible_way_to/

I used the solution described in there which worked... Until now that is :)

Thanks for the follow up, but its really not needed. I happy with my config again and it only overflows when there are way too many tabs open. So I'm good! For reference I'm talking about this behavior (tab scrolling/overflow, not sure what to call it): https://www.reddit.com/r/firefox/comments/b3slhs/why_is_there_absolutely_no_possible_way_to/ I used the solution described in there which worked... Until now that is :)
Помогла ли вам это?
Цитата

Задавший вопрос

What I do see now is that when I hover over a tab it resizes to show the tab-close-button. It didn't use to do that and if I put the 3 lines back it doesn't anymore.

So fixed one, but introduced another ;)

What I do see now is that when I hover over a tab it resizes to show the tab-close-button. It didn't use to do that and if I put the 3 lines back it doesn't anymore. So fixed one, but introduced another ;)
Помогла ли вам это?
Цитата

Задавший вопрос

Adding the 3 lines back with a small adjustment made it work as expected again:

.tab-content:not([pinned="true"]) {

 overflow: hidden !important;

}

Thanks again for your help!

Adding the 3 lines back with a small adjustment made it work as expected again: .tab-content:not([pinned="true"]) { overflow: hidden !important; } Thanks again for your help!
Помогла ли вам это?
Цитата
Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.