fix(app): offset toasts below the window chrome on macOS (#1744)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-19 12:42:08 +02:00
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));
} }