搜尋 Mozilla 技術支援網站

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

Learn More

I would like to wrap the text in my tabs to more than one line

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

more options

Hi everybody.

As already mentioned, i would like to wrap the tab-titles to more lines so i am able to display more information of the title. Unfortunately i cannot find a way to do this except the more or less poor addon "tabtweak". I have tried manipulating the style via userChrome.css but all of my efforts wont have any effect on the length/overflow of the displayed text.

Here is what i have tried so far:

/*@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

.tabbrowser-tab:not([pinned]) .tab-text {

                               border: !important; 
                               word-wrap: break-word !important;
                               word-break: normal !important; 
                               white-space: wrap !important; 
                               height: 3em !important;
                               overflow-y: visible !important; 
                               overflow-x: visible !important; 
                               overflow: visible !important;
                               text-overflow: visible !important;
                               display: inline-table !important; 
                               max-width: none !important;}

It would be awesome if someone is able to help out here. Soultice

所有回覆 (1)

more options

This might also be available for your platform: https://addons.mozilla.org/en-US/fire.../modesttab/