mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(app): offset toasts below the window chrome on macOS (#1744)
This commit is contained in:
1 parent
53df9a0d6d
commit
22bc2cab74
1 file changed
+2
-2
@@ -20,11 +20,11 @@
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(html.platform-native:not(.platform-macos) #toast-portal-root) .containerDesktop {
|
:global(html.platform-native #toast-portal-root) .containerDesktop {
|
||||||
top: calc(1.5rem + env(safe-area-inset-top, 0px) + var(--native-titlebar-height, 0px));
|
top: calc(1.5rem + env(safe-area-inset-top, 0px) + var(--native-titlebar-height, 0px));
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(html.platform-native:not(.platform-macos) #toast-portal-root) .containerMobile {
|
:global(html.platform-native #toast-portal-root) .containerMobile {
|
||||||
top: calc(1rem + env(safe-area-inset-top, 0px) + var(--native-titlebar-height, 0px));
|
top: calc(1rem + env(safe-area-inset-top, 0px) + var(--native-titlebar-height, 0px));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user