1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00

Add back in client app border only when inside builder preview

This commit is contained in:
Andrew Kingston 2021-07-30 10:06:16 +01:00
parent 9778ce8f98
commit 10d64456a2

View file

@ -93,7 +93,7 @@
</div>
{:else if $screenStore.activeLayout}
<Provider key="user" data={$authStore} {actions}>
<div id="app-root">
<div id="app-root" class:preview={$builderStore.inBuilder}>
{#key $screenStore.activeLayout._id}
<Component instance={$screenStore.activeLayout.props} />
{/key}
@ -131,6 +131,9 @@
#app-root {
position: relative;
}
#app-root.preview {
border: 1px solid var(--spectrum-global-color-gray-300);
}
/* Custom scrollbars */
:global(::-webkit-scrollbar) {