Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 4 个回答
  • 1 人有此问题
  • 7 次查看
  • 最后回复者为 hsp3kala

more options

Hi everyone,

The problem is that in Firefox 79 for Linux, there is is a small margin between the close button and the upper right corner of the screen, that prevents me from clicking the close button when I put the mouse pointer at this corner (at the end of the screen).

Because of habit and also because all other windows let me click the close button like this, I would like to ask if there is an option or a particular about:config entry in order to eliminate this margin, so that the clickable area of the close button expands to the upper right corner (end border of the screen) and regain the functionality that I have with all other windows.

A long time ago I had again this question for a previous firefox version:

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

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

Hi everyone, The problem is that in Firefox 79 for Linux, there is is a small margin between the close button and the upper right corner of the screen, that prevents me from clicking the close button when I put the mouse pointer at this corner (at the end of the screen). Because of habit and also because all other windows let me click the close button like this, I would like to ask if there is an option or a particular about:config entry in order to eliminate this margin, so that the clickable area of the close button expands to the upper right corner (end border of the screen) and regain the functionality that I have with all other windows. A long time ago I had again this question for a previous firefox version: https://support.mozilla.org/en-US/questions/1251999 I had fixed this problem with the solution provided in the answer of that question back then. Unfortunately, this fix with userChrome.css doesn't work anymore. Is there a way to fix this in firefox 79 for linux ?
已附加屏幕截图

所有回复 (4)

more options

Try this code in userChrome.css:

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

more options

Firstly, thank you for your prompt reply.

I tried the above code as is in userChrome.css, it didn't work.

I' ve also tried to modify it a little bit concerning the margins, entering the below code, but didn't work either:

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

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

margin-right:-9px!important;}

more options

If this is about the close button then try: .titlebar-close {margin-right:-9px !important;}

Not sure if the density setting (normal, compact) has any affect.

See also the Browser Toolbox.

more options

I have tried the:

.titlebar-close {margin-right:-9px !important;}

It doesn't work. I had the density setting to compact from the beginning. This option minimizes the margin but doesn't eliminate it.

I'll also check the Browser Toolbox. Many thanks for your help.