搜尋 Mozilla 技術支援網站

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

了解更多

Modify tab height with userChrome.css

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

more options

I droppep my userChrome.css to a folder named /chrome in my thunderbird folder, to change the default height of the tabs using this css code:

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

.tabbrowser-tabs *|tab {

   font-size: 20px !important;
   height:    50px !important;
   min-width: 8px !important  }

But nothing change. Instead on my Firefox, it works perfectly changing right the tab height.

Any suggestion?

I droppep my userChrome.css to a folder named /chrome in my thunderbird folder, to change the default height of the tabs using this css code: ****************** @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); .tabbrowser-tabs *|tab { font-size: 20px !important; height: 50px !important; min-width: 8px !important } ****************** But nothing change. Instead on my Firefox, it works perfectly changing right the tab height. Any suggestion?

被選擇的解決方法

Yes it should be chrome/userChrome.css just as in Firefox, but the selection wasn't based on the element's ID, but on its class, so it should be the following, :

.tabmail-tabs *|tab {

 font-size: 20px !important;
 height:    50px !important;
 min-width: 8px !important

}

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

In TB the element isn't called tabbrowser-tabs, but tabcontainer instead, so try it with:

.tabcontainer *|tab {

 font-size: 20px !important;
 height:    50px !important;
 min-width: 8px !important

}

more options

Not working too :-(

It's right to have the userChrome.css in the /chrome folder, like in FF ?

more options

選擇的解決方法

Yes it should be chrome/userChrome.css just as in Firefox, but the selection wasn't based on the element's ID, but on its class, so it should be the following, :

.tabmail-tabs *|tab {

 font-size: 20px !important;
 height:    50px !important;
 min-width: 8px !important

}

more options

It works! :-)

Thanks a lot, you really saved my day (I lost half a day to find how to reduce these tabs in TB)

I think that should be in some Official FAQ for TB.

Thank you!