diff --git a/packages/client/src/components/ClientApp.svelte b/packages/client/src/components/ClientApp.svelte index 3a704e36a2..0d0d847c27 100644 --- a/packages/client/src/components/ClientApp.svelte +++ b/packages/client/src/components/ClientApp.svelte @@ -85,30 +85,45 @@ - -
- {#key $screenStore.activeLayout._id} - - {/key} -
-
- - - + {#key $builderStore.selectedComponentId} {#if $builderStore.inBuilder} {/if} {/key} - +
+ +
+ + {#key $screenStore.activeLayout._id} + + {/key} + + + + + + +
+ + + - {#if $builderStore.inBuilder} - - - {/if} + {#if $builderStore.inBuilder} + + + {/if} +
@@ -117,20 +132,33 @@ {/if} diff --git a/packages/client/src/components/app/Layout.svelte b/packages/client/src/components/app/Layout.svelte index 7f120556bd..2c7f1ad45a 100644 --- a/packages/client/src/components/app/Layout.svelte +++ b/packages/client/src/components/app/Layout.svelte @@ -5,6 +5,7 @@ const { routeStore, styleable, linkable, builderStore } = getContext("sdk") const component = getContext("component") + const context = getContext("context") export let title export let hideTitle = false @@ -58,7 +59,12 @@ } -
+
{#if typeClass !== "none"}