1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-26 10:50:29 +02:00

fix(web): logo invisible on share page (#7990)

This commit is contained in:
Michel Heusschen 2024-03-15 20:53:58 +01:00 committed by GitHub
parent abedfd1015
commit e21c586cc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 5 deletions

View File

@ -68,8 +68,8 @@
{:else}
<ControlAppBar showBackButton={false}>
<svelte:fragment slot="leading">
<a data-sveltekit-preload-data="hover" class="ml-4 hover:cursor-pointer" href="/">
<ImmichLogo width="55%" />
<a data-sveltekit-preload-data="hover" class="ml-4" href="/">
<ImmichLogo class="h-10" />
</a>
</svelte:fragment>

View File

@ -82,8 +82,8 @@
{:else}
<ControlAppBar on:close={() => goto(AppRoute.PHOTOS)} backIcon={mdiArrowLeft} showBackButton={false}>
<svelte:fragment slot="leading">
<a data-sveltekit-preload-data="hover" class="ml-4 hover:cursor-pointer" href="/">
<ImmichLogo width="50%" />
<a data-sveltekit-preload-data="hover" class="ml-4" href="/">
<ImmichLogo class="h-10" />
</a>
</svelte:fragment>

View File

@ -4,6 +4,13 @@
import logoNoText from '$lib/assets/immich-logo.svg';
import { Theme } from '$lib/constants';
import { colorTheme } from '$lib/stores/preferences.store';
import type { HTMLImgAttributes } from 'svelte/elements';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interface $$Props extends HTMLImgAttributes {
noText?: boolean;
draggable?: boolean;
}
export let noText = false;
export let draggable = false;

View File

@ -38,7 +38,7 @@
<ControlAppBar showBackButton={false}>
<svelte:fragment slot="leading">
<a data-sveltekit-preload-data="hover" class="ml-4" href="/">
<ImmichLogo width="55%" />
<ImmichLogo class="h-10" />
</a>
</svelte:fragment>