zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
18.91k stars 456 forks source link

some adjustment for "-moz-gtk-csd-reversed-placement" #3138

Closed pc-v2 closed 15 hours ago

pc-v2 commented 1 day ago

adds padding to titlebar-buttonbox-container when "-moz-gtk-csd-reversed-placement" is true

before

image

after

image

mr-cheff commented 15 hours ago

Sorry, but I believe these values should be hard coded but rather something more like: margin-top: auto, also, I dont know why but the code seems to be duplicate

pc-v2 commented 12 hours ago

Sorry, but I believe these values should be hard coded but rather something more like: margin-top: auto, also, I dont know why but the code seems to be duplicate

no problem ;) the value is hard-coded because I didn't check with other methods in my mind, I can't wait for new update.