High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore(web): remove tree item thumbnail class 'max-h-[500px]' (#14901)
mehring007caa26bd18
diff --git a/web/src/lib/components/layouts/user-page-layout.svelte b/web/src/lib/components/layouts/user-page-layout.svelteindex 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');</script>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.svelteindex 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}<div- class="w-full grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-6 2xl:grid-cols-8 gap-2 bg-gray-50 dark:bg-immich-dark-gray/50 rounded-2xl border border-gray-100 dark:border-gray-900 max-h-[500px] overflow-auto immich-scrollbar"+ class="w-full grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-6 2xl:grid-cols-8 gap-2 bg-gray-50 dark:bg-immich-dark-gray/50 rounded-2xl border border-gray-100 dark:border-gray-900">{#each items as item}<buttondiff --git a/web/src/routes/(user)/folders/[[photos=photos]]/[[assetId=id]]/+page.svelte b/web/src/routes/(user)/folders/[[photos=photos]]/[[assetId=id]]/+page.svelteindex 1c3118755d..5f830e03fc 100644--- a/web/src/routes/(user)/folders/[[photos=photos]]/[[assetId=id]]/+page.svelte+++ b/web/src/routes/(user)/folders/[[photos=photos]]/[[assetId=id]]/+page.svelte@@ -72,7 +72,7 @@<Breadcrumbs {pathSegments} icon={mdiFolderHome} title={$t('folders')} {getLink} />- <section class="mt-2">+ <section class="mt-2 h-[calc(100%-theme(spacing.20))] overflow-auto immich-scrollbar"><TreeItemThumbnails items={currentTreeItems} icon={mdiFolder} onClick={handleNavigation} /><!-- Assets -->diff --git a/web/src/routes/(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelte b/web/src/routes/(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelteindex d66eab9870..b9955644a8 100644--- a/web/src/routes/(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelte+++ b/web/src/routes/(user)/tags/[[photos=photos]]/[[assetId=id]]/+page.svelte@@ -149,7 +149,7 @@};</script>-<UserPageLayout title={data.meta.title} scrollbar={false}>+<UserPageLayout title={data.meta.title}>{#snippet sidebar()}<SideBarSection><SkipLink target={`#${headerId}`} text={$t('skip_to_tags')} />@@ -196,7 +196,7 @@<Breadcrumbs {pathSegments} icon={mdiTagMultiple} title={$t('tags')} {getLink} />- <section class="mt-2 h-full">+ <section class="mt-2 h-[calc(100%-theme(spacing.20))] overflow-auto immich-scrollbar">{#if tag}<AssetGrid enableRouting={true} {assetStore} {assetInteraction} removeAction={AssetAction.UNARCHIVE}>{#snippet empty()}