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:
parent
9c7f5f98b7
commit
81e9f5b860
|
@ -39,8 +39,18 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if loaded && $screenStore.activeLayout}
|
{#if loaded && $screenStore.activeLayout}
|
||||||
<Provider key="user" data={$authStore} {actions}>
|
<div lang="en" dir="ltr" class="spectrum spectrum--medium spectrum--light">
|
||||||
<Component definition={$screenStore.activeLayout.props} />
|
<Provider key="user" data={$authStore} {actions}>
|
||||||
<NotificationDisplay />
|
<Component definition={$screenStore.activeLayout.props} />
|
||||||
</Provider>
|
<NotificationDisplay />
|
||||||
|
</Provider>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
<style>
|
||||||
|
div {
|
||||||
|
background: transparent;
|
||||||
|
height: 100%;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue