From c1242abc981b9d9296b6770a90c6ea824676e92b Mon Sep 17 00:00:00 2001 From: MehringTing Date: Thu, 26 Dec 2024 14:24:28 +0800 Subject: [PATCH] fix tag/folder navigation bar on the top all the time. --- web/src/lib/components/layouts/user-page-layout.svelte | 2 +- .../shared-components/tree/tree-item-thumbnails.svelte | 2 +- .../folders/[[photos=photos]]/[[assetId=id]]/+page.svelte | 2 +- .../(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelte | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/lib/components/layouts/user-page-layout.svelte b/web/src/lib/components/layouts/user-page-layout.svelte index 6822035b19..6f11e19bb7 100644 --- a/web/src/lib/components/layouts/user-page-layout.svelte +++ b/web/src/lib/components/layouts/user-page-layout.svelte @@ -38,7 +38,7 @@ children, }: Props = $props(); - let scrollbarClass = $derived(scrollbar ? 'immich-scrollbar p-2 pb-8' : 'scrollbar-hidden'); + let scrollbarClass = $derived(scrollbar ? 'immich-scrollbar p-2' : 'scrollbar-hidden'); let hasTitleClass = $derived(title ? 'top-16 h-[calc(100%-theme(spacing.16))]' : 'top-0 h-full'); diff --git a/web/src/lib/components/shared-components/tree/tree-item-thumbnails.svelte b/web/src/lib/components/shared-components/tree/tree-item-thumbnails.svelte index 37bdd0e907..b84f25060e 100644 --- a/web/src/lib/components/shared-components/tree/tree-item-thumbnails.svelte +++ b/web/src/lib/components/shared-components/tree/tree-item-thumbnails.svelte @@ -12,7 +12,7 @@ {#if items.length > 0}
{#each items as item}