搜尋 Mozilla 技術支援網站

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

了解更多

Tab bar shrinks after grabbing single tab since firefox 132/133 (custom userchrome.css)

  • 5 回覆
  • 0 有這個問題
  • 22 次檢視
  • 最近回覆由 Piterk

more options

Hello Since few weeks (maybe on firefox 132 already, but surely on firefox 133) I observe issue with my firefox UI. While grabbing and holding tab (to change its position, move it on bar), whole tab bar gets thinner which realigns my whole UI. Issue is probably caused by my custom userchrome.css but I need it in current or similar form. Maybe there is some css specialist who can help me remove unnecessary parts of code?

My css is as follows:

.tab-background{ border-radius: 0px 0px !important; margin-bottom: 0px !important; } .tabbrowser-tab:not([selected=true]):not([multiselected=true]) .tab-background{ background-color: color-mix(in srgb, currentColor 4%, transparent); } menupopup > menu, menupopup > menuitem{ padding-block: 3px !important; min-height: 0px !important; }

root{

--arrowpanel-menuitem-padding: 2px !important; }

Hello Since few weeks (maybe on firefox 132 already, but surely on firefox 133) I observe issue with my firefox UI. While grabbing and holding tab (to change its position, move it on bar), whole tab bar gets thinner which realigns my whole UI. Issue is probably caused by my custom userchrome.css but I need it in current or similar form. Maybe there is some css specialist who can help me remove unnecessary parts of code? My css is as follows: .tab-background{ border-radius: 0px 0px !important; margin-bottom: 0px !important; } .tabbrowser-tab:not([selected=true]):not([multiselected=true]) .tab-background{ background-color: color-mix(in srgb, currentColor 4%, transparent); } menupopup > menu, menupopup > menuitem{ padding-block: 3px !important; min-height: 0px !important; } :root{ --arrowpanel-menuitem-padding: 2px !important; }
附加的畫面擷圖

被選擇的解決方法

Hi

Modification using userChrome.css is not officially supported, but you may get some help at:

https://www.reddit.com/r/FirefoxCSS/

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

所有回覆 (5)

more options

If that isn't part of Firefox browser created css edits then you should post that to a userChrome.css site for others there to see what's wrong or if that is a site created userChrome.css edit then you should contact that site for support using their userChrome.css edits.

有幫助嗎?

more options

Sorry but what do you mean by "userChrome.css site" - is there some support site for styling firefox? I got this code from mozilla support forums in the first place, so I was hoping I could find help here ;)

有幫助嗎?

more options

選擇的解決方法

Hi

Modification using userChrome.css is not officially supported, but you may get some help at:

https://www.reddit.com/r/FirefoxCSS/

有幫助嗎?

more options

Issue was caused by this part: margin-bottom: 4px !important; Which was responsible for widening tab until it met button/address bar. You have to set it to 4px or remove it and have huge margins below tab.

有幫助嗎?

more options

I was able to bypass issue by changing .tab-background{ to .tab-background[selected]{

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題