diff --git a/apps/mana/apps/web/src/lib/components/layout/SpaceCreateDialog.svelte b/apps/mana/apps/web/src/lib/components/layout/SpaceCreateDialog.svelte index ecc5333c9..1c9d974ca 100644 --- a/apps/mana/apps/web/src/lib/components/layout/SpaceCreateDialog.svelte +++ b/apps/mana/apps/web/src/lib/components/layout/SpaceCreateDialog.svelte @@ -223,7 +223,9 @@ position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); - z-index: 200; + /* Above the PillNav (z=1000) and the SpaceSwitcher menu (z=1501) + so opening the dialog cleanly covers the nav chrome. */ + z-index: 1600; border: 0; } @@ -235,11 +237,12 @@ width: min(540px, 92vw); max-height: 86vh; overflow-y: auto; - background: var(--color-surface-1, white); - color: var(--color-text, inherit); - border-radius: var(--radius-lg, 10px); + background: hsl(var(--color-card, 0 0% 100%)); + color: hsl(var(--color-foreground, 0 0% 10%)); + border: 1px solid hsl(var(--color-border, 0 0% 88%)); + border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18); - z-index: 201; + z-index: 1601; } form { diff --git a/apps/mana/apps/web/src/lib/components/layout/SpaceSwitcher.svelte b/apps/mana/apps/web/src/lib/components/layout/SpaceSwitcher.svelte index 49e16af5b..f03dd9df6 100644 --- a/apps/mana/apps/web/src/lib/components/layout/SpaceSwitcher.svelte +++ b/apps/mana/apps/web/src/lib/components/layout/SpaceSwitcher.svelte @@ -3,13 +3,14 @@ * SpaceSwitcher — dropdown that shows the active Space and lets the * user switch to another one or create a new Space. * - * Minimal and self-contained so it can be dropped anywhere in the - * header without touching the PillNavigation's own config surface. - * Uses plain + +{#if open} + class="backdrop" + aria-label="Menü schließen" + onclick={closeDropdown} + tabindex="-1" + > - {#if open} - - {/if} - + +{/if} (createOpen = false)} />