diff --git a/src/lib/components/layouts/DocumentLayout.svelte b/src/lib/components/layouts/DocumentLayout.svelte index a16cee4c..56248a6e 100644 --- a/src/lib/components/layouts/DocumentLayout.svelte +++ b/src/lib/components/layouts/DocumentLayout.svelte @@ -34,14 +34,12 @@ Assumes it's a child of a ViewerContext $: projects = (document.projects ?? []) as Project[]; - - - - + +
diff --git a/src/lib/components/layouts/SidebarLayout.svelte b/src/lib/components/layouts/SidebarLayout.svelte index 5c0d9a83..a779d103 100644 --- a/src/lib/components/layouts/SidebarLayout.svelte +++ b/src/lib/components/layouts/SidebarLayout.svelte @@ -1,9 +1,12 @@
- {#if $$slots.navigation} + {#if $$slots.navigation && !hideNavigation} @@ -13,7 +16,7 @@
- {#if $$slots.action} + {#if $$slots.action && !hideActions}