搜尋 Mozilla 技術支援網站

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

There is a small margin between the close button and the upper right corner of the screen Vol.2

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

more options

Hi everyone,

A few months ago I had this question:

https://support.mozilla.org/en-US/questions/1217430

I had fixed this problem with the solution provided in the answer of that question back then. Unfortunately, after the firefox's 65 update has been installed, this fix with userChrome.css doesn't work anymore. Is there a way to fix this in firefox 65 for linux ?

被選擇的解決方法

Try this selector to set the margin.

.titlebar-buttonbox toolbarbutton { }
從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

Which userChrome.css did you use? Maybe the updated browser doesn't support the css you used and it needs to be updated.

more options

選擇的解決方法

Try this selector to set the margin.

.titlebar-buttonbox toolbarbutton { }
more options

cor-el said

Try this selector to set the margin.
.titlebar-buttonbox toolbarbutton { }

Firstly, thank you all for your replies.

This selector mentioned above worked! Thank you very much.

For everyone that needs a fix for this problem, the code for userChrome.css is:


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

.titlebar-buttonbox toolbarbutton {margin-top:-2px!important;

margin-right:-5px!important;}