diff --git a/src/lib/layout/shell.svelte b/src/lib/layout/shell.svelte index 318ef00007..1106341b33 100644 --- a/src/lib/layout/shell.svelte +++ b/src/lib/layout/shell.svelte @@ -4,6 +4,7 @@ import { page } from '$app/stores'; import { log } from '$lib/stores/logs'; import { wizard } from '$lib/stores/wizard'; + import { activeHeaderAlert } from '$routes/console/store'; export let isOpen = false; export let showSideNavigation = false; @@ -47,9 +48,9 @@ class:grid-with-side={showSideNavigation} class:is-open={isOpen} class:u-hide={$wizard.show || $log.show || $wizard.cover} - class:is-fixed-layout={$$slots.alert}> - {#if $$slots.alert} - + class:is-fixed-layout={$activeHeaderAlert?.show}> + {#if $activeHeaderAlert?.show} + {/if}