lah7 / Ambiant-MATE

Ambiant-MATE and Radiant-MATE family of themes and icons
Other
28 stars 5 forks source link

Firefox CSDs cut off #9

Closed ZeusOfTheCrows closed 1 year ago

ZeusOfTheCrows commented 1 year ago

Describe the problem

Firefox minimise/close buttons are cut off at the left/right edges when the titlebar is disabled

i believe this is due to the negative margins in lines 3146/3147

they could easily be removed, but without them the buttons are a little spaced out

Expected behaviour

firefox CSDs look like native CSDs

Affected Themes

Screenshots

firefox cut off firefox cut off

firefox fixed after removing two lines: firefox fixed after removing two lines

official ambiance theme (firefox): official ambiance theme

non-cutoff csd in normal gtk app (meld): csd in normal gtk app

also occurs in ambiant light & radiant: also occurs in ambiant light & radiant

Operating System / Environment

tested in kubuntu plasma 5.27.4, & mint cinnamon [~5?]

ZeusOfTheCrows commented 1 year ago

okay, after a little experimenting, adding

.titlebar button.titlebutton:first-child {
    margin-left: 0;
}

.titlebar button.titlebutton:last-child {
    margin-right: 0;
}

fixes both problems. can open a pull request if needed, but it's a very small fix