1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

Wrap whole client app in spectrum classes to reduce dependency on spectrum wrapper around any spectrum components in client app

This commit is contained in:
Andrew Kingston 2021-05-13 16:32:52 +01:00
parent d49ca2d308
commit a551f3c8ae

View file

@ -39,8 +39,18 @@
</script>
{#if loaded && $screenStore.activeLayout}
<Provider key="user" data={$authStore} {actions}>
<Component definition={$screenStore.activeLayout.props} />
<NotificationDisplay />
</Provider>
<div lang="en" dir="ltr" class="spectrum spectrum--medium spectrum--light">
<Provider key="user" data={$authStore} {actions}>
<Component definition={$screenStore.activeLayout.props} />
<NotificationDisplay />
</Provider>
</div>
{/if}
<style>
div {
background: transparent;
height: 100%;
position: relative;
}
</style>