datguypiko / Firefox-Mod-Blur

Firefox CSS Theme - For dark theme lovers / More compact / Modular / Blur
1.35k stars 62 forks source link

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

Closed niksingh710 closed 1 year ago

niksingh710 commented 1 year ago

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

datguypiko commented 1 year 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 1 year 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 1 year ago

What OS are you using?

datguypiko commented 1 year ago

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

before: image

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

niksingh710 commented 1 year ago

What OS are you using?

I am using arch linux.

niksingh710 commented 1 year 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 11 months ago

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

adding this moves the extension to right.