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}> - +