mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-11-10 20:21:41 +08:00
style(zen): improve position slightly
This commit is contained in:
parent
1ad8c6b1cb
commit
9221932abb
@ -19,15 +19,15 @@ const TPL = `\
|
|||||||
body.zen .close-zen-container {
|
body.zen .close-zen-container {
|
||||||
display: block;
|
display: block;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 2px;
|
||||||
right: 0;
|
right: 2px;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
-webkit-app-region: no-drag;
|
-webkit-app-region: no-drag;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.zen.electron:not(.native-titlebar) .close-zen-container {
|
body.zen.electron:not(.native-titlebar) .close-zen-container {
|
||||||
--size: 32px;
|
--size: 32px;
|
||||||
left: calc(env(titlebar-area-width) - var(--size));
|
left: calc(env(titlebar-area-width) - var(--size) - 2px);
|
||||||
right: unset;
|
right: unset;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user