為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

After Upgrading to v58 userChrome.css Multiple Tabs Setup Stopped Working

  • 7 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 opoplawski

more options

On Nov 20, 2017 after v57 I lost access to my extension that gave me multiple plugin rows.

Then I found the solution was to create a Chrome\userChrome.css file in my profile and configure multiple tab rows like I wanted.

After upgrading to v58 I have lost all my tab rows and they are now all showing on one row all squished and with the scroll bars which I hate and it totally slows down working.

How do we re-gain access to a Multiple-Row Tab Setup???

The following userChrome.css prevously worked great in v57:


/*START userChrome.css*/ /*Multiple Tab Rows*/ .tabbrowser-tab {

   flex-grow:1;
   min-width:150px;

} .tabbrowser-tab,.tab-background {

   height:29px;

} .tab-stack {

   width: 100%;

} .tabbrowser-tabs .scrollbox-innerbox {

   display: flex;
   flex-wrap: wrap;

} .tabbrowser-tabs .arrowscrollbox-scrollbox {

   overflow: visible;
   display: block;

} .tabbrowser-tabs .scrollbutton-up,.tabbrowser-tabs .scrollbutton-down,#alltabs-button{

   display: none;

}


/*Make Pinned Tabs smaller*/ .tabbrowser-tab[pinned] {

 min-width: 24px !important;   
 width: 28px;

}

/*END userChrome.css*/

On Nov 20, 2017 after v57 I lost access to my extension that gave me multiple plugin rows. Then I found the solution was to create a Chrome\userChrome.css file in my profile and configure multiple tab rows like I wanted. After upgrading to v58 I have lost all my tab rows and they are now all showing on one row all squished and with the scroll bars which I hate and it totally slows down working. How do we re-gain access to a Multiple-Row Tab Setup??? The following userChrome.css prevously worked great in v57: /*START userChrome.css*/ /*Multiple Tab Rows*/ .tabbrowser-tab { flex-grow:1; min-width:150px; } .tabbrowser-tab,.tab-background { height:29px; } .tab-stack { width: 100%; } .tabbrowser-tabs .scrollbox-innerbox { display: flex; flex-wrap: wrap; } .tabbrowser-tabs .arrowscrollbox-scrollbox { overflow: visible; display: block; } .tabbrowser-tabs .scrollbutton-up,.tabbrowser-tabs .scrollbutton-down,#alltabs-button{ display: none; } /*Make Pinned Tabs smaller*/ .tabbrowser-tab[pinned] { min-width: 24px !important; width: 28px; } /*END userChrome.css*/

由 marcelg7 於 修改

被選擇的解決方法

This works for me on Firefox Quantum 58.0.1

#main-window:not(#f) .tabbrowser-tab {
   -moz-box-sizing: border-box !important;
   height: 33px !important;
   vertical-align: top !important;
}
#main-window:not(#f) .tabbrowser-tab:not([pinned]) {
   width: auto !important;
}
#main-window:not(#f) .tabbrowser-tab[pinned] {
   width: 94px !important;
}
#main-window:not(#f) .tab-close-button {
   display: -moz-box !important;
}
#main-window:not(#f) .titlebar-button {
   height: 33px !important;
}
#main-window:not(#f) #titlebar-buttonbox,
 .tabbrowser-arrowscrollbox scrollbox > box {
   display: block !important;
}
#main-window:not(#f) #titlebar-buttonbox {
   vertical-align: top !important;
}
.tabbrowser-arrowscrollbox scrollbox {
   overflow: visible !important;
}
.tab-label-container[textoverflow]:not([pinned]) {
   mask-image: unset !important;
}
.scrollbutton-up,
.scrollbutton-down {
   display: none !important;
}
從原來的回覆中察看解決方案 👍 1

所有回覆 (7)

more options

Any help is appreciated as this is a nightmare for working my job. Thanks!

由 marcelg7 於 修改

more options

選擇的解決方法

This works for me on Firefox Quantum 58.0.1

#main-window:not(#f) .tabbrowser-tab {
   -moz-box-sizing: border-box !important;
   height: 33px !important;
   vertical-align: top !important;
}
#main-window:not(#f) .tabbrowser-tab:not([pinned]) {
   width: auto !important;
}
#main-window:not(#f) .tabbrowser-tab[pinned] {
   width: 94px !important;
}
#main-window:not(#f) .tab-close-button {
   display: -moz-box !important;
}
#main-window:not(#f) .titlebar-button {
   height: 33px !important;
}
#main-window:not(#f) #titlebar-buttonbox,
 .tabbrowser-arrowscrollbox scrollbox > box {
   display: block !important;
}
#main-window:not(#f) #titlebar-buttonbox {
   vertical-align: top !important;
}
.tabbrowser-arrowscrollbox scrollbox {
   overflow: visible !important;
}
.tab-label-container[textoverflow]:not([pinned]) {
   mask-image: unset !important;
}
.scrollbutton-up,
.scrollbutton-down {
   display: none !important;
}

由 Sonny 於 修改

more options

Thank you so much srazzano!

That straightened things out for me and now I'm back up and running after making my customizations with your starting CSS.

Cheers!!!

more options

Can someone post the corrected version of userChrome.css AFTER replacement of "1." and all the rest? Can I directly replace userChrome.css with the above? Best Max

more options
more options

Copy this code and paste into userChrome.css file in your user profiles chrome folder.

#main-window:not(#f) .tabbrowser-tab {
   -moz-box-sizing: border-box !important;
   height: 33px !important;
   vertical-align: top !important;
}
#main-window:not(#f) .tabbrowser-tab:not([pinned]) {
   width: auto !important;
}
#main-window:not(#f) .tabbrowser-tab[pinned] {
   width: 94px !important;
}
#main-window:not(#f) .tab-close-button {
   display: -moz-box !important;
}
#main-window:not(#f) .titlebar-button {
   height: 33px !important;
}
#main-window:not(#f) #titlebar-buttonbox,
 .tabbrowser-arrowscrollbox scrollbox > box {
   display: block !important;
}
#main-window:not(#f) #titlebar-buttonbox {
   vertical-align: top !important;
}
.tabbrowser-arrowscrollbox scrollbox {
   overflow: visible !important;
}
.tab-label-container[textoverflow]:not([pinned]) {
   mask-image: unset !important;
}
.scrollbutton-up,
.scrollbutton-down {
   display: none !important;
}

由 Sonny 於 修改

more options

All of the multiple tab row solutions that I've found have made closing tabs very slow. Does anyone else see this or know of a fix?