Search Support

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.3

  • 4 respostas
  • 1 has this problem
  • 7 views
  • Last reply by 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 ?
Capturas de pantalla anexas

All Replies (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.