Fix issue with side panel position

This commit is contained in:
Andrew Kingston 2024-08-14 15:24:48 +01:00
parent 952b9b4af1
commit 919c4d95c5
No known key found for this signature in database
2 changed files with 17 additions and 18 deletions

View File

@ -324,6 +324,7 @@
justify-content: flex-start;
align-items: stretch;
overflow: hidden;
position: relative;
}
.error {

View File

@ -322,25 +322,23 @@
<slot />
</div>
</div>
<div
id="side-panel-container"
class:open={$sidePanelStore.open}
use:clickOutside={autoCloseSidePanel
? sidePanelStore.actions.close
: null}
class:builder={$builderStore.inBuilder}
>
<div class="side-panel-header">
<Icon
color="var(--spectrum-global-color-gray-600)"
name="RailRightClose"
hoverable
on:click={sidePanelStore.actions.close}
/>
</div>
</div>
<div class="modal-container" />
</div>
<div
id="side-panel-container"
class:open={$sidePanelStore.open}
use:clickOutside={autoCloseSidePanel ? sidePanelStore.actions.close : null}
class:builder={$builderStore.inBuilder}
>
<div class="side-panel-header">
<Icon
color="var(--spectrum-global-color-gray-600)"
name="RailRightClose"
hoverable
on:click={sidePanelStore.actions.close}
/>
</div>
</div>
<div class="modal-container" />
</div>
<style>