fix(zen): buttons on darwin

This commit is contained in:
Elian Doran 2025-02-16 15:38:31 +02:00
parent 753da46935
commit dc0ac4daa2
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@ const TPL = `\
-webkit-app-region: no-drag; -webkit-app-region: no-drag;
} }
body.zen.electron:not(.native-titlebar) .close-zen-container { body.zen.electron:not(.platform-darwin):not(.native-titlebar) .close-zen-container {
left: calc(env(titlebar-area-width) - var(--zen-button-size) - 2px); left: calc(env(titlebar-area-width) - var(--zen-button-size) - 2px);
right: unset; right: unset;
} }

View File

@ -1677,6 +1677,7 @@ body.zen .title-row {
display: block !important; display: block !important;
height: unset !important; height: unset !important;
-webkit-app-region: drag; -webkit-app-region: drag;
padding-left: env(titlebar-area-x);
} }
body.zen .note-title-widget, body.zen .note-title-widget,