From 22bc2cab743521a8025cbb75a87be290491f8f9c Mon Sep 17 00:00:00 2001 From: Hampus Date: Wed, 19 Aug 2026 12:42:08 +0200 Subject: [PATCH] fix(app): offset toasts below the window chrome on macOS (#1744) --- fluxer_app/src/features/ui/toast/Toasts.module.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluxer_app/src/features/ui/toast/Toasts.module.css b/fluxer_app/src/features/ui/toast/Toasts.module.css index a9263115b..2490a9ec9 100644 --- a/fluxer_app/src/features/ui/toast/Toasts.module.css +++ b/fluxer_app/src/features/ui/toast/Toasts.module.css @@ -20,11 +20,11 @@ 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)); } -: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)); }