From 007caa26bd18093c137ba4086e0aa75222cc3349 Mon Sep 17 00:00:00 2001 From: mehring <34731361+MehringTing@users.noreply.github.com> Date: Fri, 3 Jan 2025 02:14:44 +0800 Subject: [PATCH] chore(web): remove tree item thumbnail class 'max-h-[500px]' (#14901) * fix tree item thumbnail class 'max-h-[500px]' * 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 1b4d30d050..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}