From 29cf6e21300928ca7c5bd7ec6a73c4c649fa20e7 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 22 Nov 2022 16:00:17 +0000 Subject: [PATCH] Fix side panel messing up builder preview scrolling and properly show/hide side panel when inside builder --- packages/client/src/components/app/Layout.svelte | 10 ++++++++++ .../client/src/components/app/SidePanel.svelte | 15 ++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/packages/client/src/components/app/Layout.svelte b/packages/client/src/components/app/Layout.svelte index 48892b4fdc..104df1d500 100644 --- a/packages/client/src/components/app/Layout.svelte +++ b/packages/client/src/components/app/Layout.svelte @@ -251,6 +251,7 @@ id="side-panel-container" class:open={$sidePanelStore.open} use:clickOutside={sidePanelStore.actions.close} + class:builder={$builderStore.inBuilder} >
{ const target = document.getElementById("side-panel-container")