From e09703eade2f9bf5e9e1fce5194ec3ec5e82d393 Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Mon, 25 Nov 2024 16:16:18 -0500 Subject: [PATCH] Hide page actions on embeds --- src/lib/components/viewer/Page.svelte | 4 +++- src/lib/components/viewer/Viewer.svelte | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/components/viewer/Page.svelte b/src/lib/components/viewer/Page.svelte index d6a890d69..054468a82 100644 --- a/src/lib/components/viewer/Page.svelte +++ b/src/lib/components/viewer/Page.svelte @@ -131,7 +131,9 @@ Assumes it's a child of a ViewerContext - + {#if !embed} + + {/if} diff --git a/src/lib/components/viewer/Viewer.svelte b/src/lib/components/viewer/Viewer.svelte index 603e357e6..28df23094 100644 --- a/src/lib/components/viewer/Viewer.svelte +++ b/src/lib/components/viewer/Viewer.svelte @@ -5,6 +5,7 @@ Assumes it's a child of a ViewerContext -->