搜尋 Mozilla 技術支援網站

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

Learn More

If you're a userChrome.css user and your tab height increased on 96.0.2...

  • 3 回覆
  • 1 有這個問題
  • 242 次檢視
  • 最近回覆由 pg_78

more options

If you use userChrome.css to customise the tab toolbar, you might see the height of the tabs increase with Firefox 96.0.2. For me the fix was to add an entry to userChrome.css:

   #tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container {
     height: initial !important;
   }

This counteracts a change in 96.0.2 which sets the height of that element to 2em.

If you use userChrome.css to customise the tab toolbar, you might see the height of the tabs increase with Firefox 96.0.2. For me the fix was to add an entry to userChrome.css: #tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container { height: initial !important; } This counteracts a change in 96.0.2 which sets the height of that element to 2em.

由 pg_78 於 修改

被選擇的解決方法

You can hide the secondary line that shows the Playing and Muted state by modifying the browser.tabs.secondaryTextUnsupportedLocales pref and add your language to the list. For "en-US" this would be "en" (i.e. the part before the '-'):

  • ar,bn,bo,ckb,fa,gu,he,hi,ja,km,kn,ko,lo,mr,my,ne,pa,si,ta,te,th,ur,zh,en

You need to close and restart Firefox after modifying this pref.

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

所有回覆 (3)

more options

Thank you for posting this, as people who search for a solution may find this.

However, this may be more relevant at r/firefoxcss.

more options

選擇的解決方法

You can hide the secondary line that shows the Playing and Muted state by modifying the browser.tabs.secondaryTextUnsupportedLocales pref and add your language to the list. For "en-US" this would be "en" (i.e. the part before the '-'):

  • ar,bn,bo,ckb,fa,gu,he,hi,ja,km,kn,ko,lo,mr,my,ne,pa,si,ta,te,th,ur,zh,en

You need to close and restart Firefox after modifying this pref.

more options

cor-el said

You can hide the secondary line that shows the Playing and Muted state by modifying the browser.tabs.secondaryTextUnsupportedLocales pref and add your language to the list. For "en-US" this would be "en" (i.e. the part before the '-'):
  • ar,bn,bo,ckb,fa,gu,he,hi,ja,km,kn,ko,lo,mr,my,ne,pa,si,ta,te,th,ur,zh,en
You need to close and restart Firefox after modifying this pref.

Oh, great to know, many thanks!