From 491c71e2b885b0a76c7798b6933509860fbdebb7 Mon Sep 17 00:00:00 2001 From: Till JS Date: Wed, 25 Mar 2026 15:08:34 +0100 Subject: [PATCH] fix(onboarding): move modal outside flex layout containers in 8 apps The MiniOnboardingModal was nested inside .layout-container (flex) divs in Chat, Clock, Contacts, Context, ManaDeck, Picture, Presi, and Todo. This could interfere with fixed positioning, causing the modal to render incorrectly. Moved all modals to the same nesting level as SessionExpiredBanner, outside layout containers. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../apps/web/src/routes/(protected)/+layout.svelte | 11 ++++++----- apps/clock/apps/web/src/routes/(app)/+layout.svelte | 11 ++++++----- .../contacts/apps/web/src/routes/(app)/+layout.svelte | 11 ++++++----- apps/context/apps/web/src/routes/(app)/+layout.svelte | 10 +++++----- .../manadeck/apps/web/src/routes/(app)/+layout.svelte | 10 +++++----- apps/picture/apps/web/src/routes/app/+layout.svelte | 11 ++++++----- apps/presi/apps/web/src/routes/(app)/+layout.svelte | 10 +++++----- apps/todo/apps/web/src/routes/(app)/+layout.svelte | 10 ++++++---- 8 files changed, 45 insertions(+), 39 deletions(-) diff --git a/apps/chat/apps/web/src/routes/(protected)/+layout.svelte b/apps/chat/apps/web/src/routes/(protected)/+layout.svelte index eb8777638..23425b5f6 100644 --- a/apps/chat/apps/web/src/routes/(protected)/+layout.svelte +++ b/apps/chat/apps/web/src/routes/(protected)/+layout.svelte @@ -216,12 +216,13 @@ {/if} - - - {#if chatOnboarding.shouldShow} - - {/if} + + + {#if chatOnboarding.shouldShow} + + {/if} + diff --git a/apps/clock/apps/web/src/routes/(app)/+layout.svelte b/apps/clock/apps/web/src/routes/(app)/+layout.svelte index 673cddd3a..e2678a31a 100644 --- a/apps/clock/apps/web/src/routes/(app)/+layout.svelte +++ b/apps/clock/apps/web/src/routes/(app)/+layout.svelte @@ -310,12 +310,13 @@ emptyText="Keine Ergebnisse" searchingText="Suche..." /> - - - {#if clockOnboarding.shouldShow} - - {/if} + + + {#if clockOnboarding.shouldShow} + + {/if} + diff --git a/apps/contacts/apps/web/src/routes/(app)/+layout.svelte b/apps/contacts/apps/web/src/routes/(app)/+layout.svelte index 3b38edc25..6cc1f9755 100644 --- a/apps/contacts/apps/web/src/routes/(app)/+layout.svelte +++ b/apps/contacts/apps/web/src/routes/(app)/+layout.svelte @@ -384,13 +384,14 @@ {#if newContactModalStore.isOpen} newContactModalStore.close()} /> {/if} - - - {#if contactsOnboarding.shouldShow} - - {/if} + + + {#if contactsOnboarding.shouldShow} + + {/if} + diff --git a/apps/context/apps/web/src/routes/(app)/+layout.svelte b/apps/context/apps/web/src/routes/(app)/+layout.svelte index 3778b1cc9..f6e9f31c3 100644 --- a/apps/context/apps/web/src/routes/(app)/+layout.svelte +++ b/apps/context/apps/web/src/routes/(app)/+layout.svelte @@ -268,13 +268,13 @@ emptyText="Keine Ergebnisse" searchingText="Suche..." /> - - - {#if contextOnboarding.shouldShow} - - {/if} + +{#if contextOnboarding.shouldShow} + +{/if} +