Browse Source

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

pull/1490/head
Andrew Kingston 5 years ago
parent
commit
a551f3c8ae
  1. 18
      packages/client/src/components/ClientApp.svelte

18
packages/client/src/components/ClientApp.svelte

@ -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>

Loading…
Cancel
Save