datguypiko / Firefox-Mod-Blur

Firefox Theme - For dark theme lovers / More compact / Modular / Blur
1.24k stars 59 forks source link

[Ques]: Removing the close button and shifting extensions to right #94

Closed niksingh710 closed 9 months ago

niksingh710 commented 10 months ago

image How can i remove the close button and shift the extensions to extreme right?

datguypiko commented 9 months ago

Lower --firefoxcss-control-buttons-margin value in userChrome.css file (225 line).

To hide close button

.titlebar-buttonbox-container .titlebar-button.titlebar-close{
    display: none !important;
}
niksingh710 commented 9 months ago

Lower --firefoxcss-control-buttons-margin value in userChrome.css file (225 line).

To hide close button

.titlebar-buttonbox-container .titlebar-button.titlebar-close{
    display: none !important;
}

Thanks able to remove the button but yet the spacing between the window border and extension is there.

image

datguypiko commented 9 months ago

What OS are you using?

datguypiko commented 9 months ago

Here is fedora example, works perfectly fine after lowering the value.

before: image

after: --firefoxcss-control-buttons-margin: 0px; image

niksingh710 commented 9 months ago

What OS are you using?

I am using arch linux.

niksingh710 commented 9 months ago

seems like m missing something as this is not working for me. and i don't see any other variable modifying the padding. I will close this for now and if i got the root cause of the issue will comment.

niksingh710 commented 8 months ago

  #navigator-toolbox #nav-bar {
    padding-right: initial !important;
  }

adding this moves the extension to right.