fix(web): fix logo size on shared pages (#9346)

This commit is contained in:
Snowknight26 2024-05-09 09:21:45 -05:00 committed by GitHub
parent 87053c8c0d
commit f9dc870166
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -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
/>
<header>
@ -65,7 +67,7 @@
<ControlAppBar showBackButton={false}>
<svelte:fragment slot="leading">
<a data-sveltekit-preload-data="hover" class="ml-4" href="/">
<ImmichLogo class="h-10" />
<ImmichLogo class="h-[24px] w-[24px] max-w-none md:w-auto md:h-10 md:max-w-full" noText={innerWidth < 768} />
</a>
</svelte:fragment>