Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions web/src/lib/components/album-page/album-viewer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
7 changes: 7 additions & 0 deletions web/src/lib/components/shared-components/immich-logo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/(user)/share/[key]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down