From f9dc870166472f45841d0d923ff1b058e8aba309 Mon Sep 17 00:00:00 2001 From: Snowknight26 Date: Thu, 9 May 2024 09:21:45 -0500 Subject: [PATCH] fix(web): fix logo size on shared pages (#9346) --- web/src/lib/components/album-page/album-viewer.svelte | 4 +++- .../components/share-page/individual-shared-viewer.svelte | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/web/src/lib/components/album-page/album-viewer.svelte b/web/src/lib/components/album-page/album-viewer.svelte index cccb080ff3..8f107d47a1 100644 --- a/web/src/lib/components/album-page/album-viewer.svelte +++ b/web/src/lib/components/album-page/album-viewer.svelte @@ -23,6 +23,7 @@ export let user: UserResponseDto | undefined = undefined; const album = sharedLink.album as AlbumResponseDto; + let innerWidth: number; let { isViewing: showAssetViewer } = assetViewingStore; @@ -47,6 +48,7 @@ } }, }} + bind:innerWidth />
@@ -65,7 +67,7 @@ - + diff --git a/web/src/lib/components/share-page/individual-shared-viewer.svelte b/web/src/lib/components/share-page/individual-shared-viewer.svelte index 89ecae5b41..e9265f3ad3 100644 --- a/web/src/lib/components/share-page/individual-shared-viewer.svelte +++ b/web/src/lib/components/share-page/individual-shared-viewer.svelte @@ -23,6 +23,7 @@ const viewport: Viewport = { width: 0, height: 0 }; let selectedAssets: Set = new Set(); + let innerWidth: number; $: assets = sharedLink.assets; $: isMultiSelectionMode = selectedAssets.size > 0; @@ -68,6 +69,8 @@ }; + +
{#if isMultiSelectionMode} (selectedAssets = new Set())}> @@ -83,7 +86,7 @@ goto(AppRoute.PHOTOS)} backIcon={mdiArrowLeft} showBackButton={false}> - +