High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
feat: make skeleton title optional (#22396)
Min Idzelis78fbe0fd49c1
diff --git a/web/src/lib/elements/Skeleton.svelte b/web/src/lib/elements/Skeleton.svelteindex 7ce2c3cee3..8ee05f4e61 100644--- a/web/src/lib/elements/Skeleton.svelte+++ b/web/src/lib/elements/Skeleton.svelte@@ -1,18 +1,20 @@<script lang="ts">interface Props {height: number;- title: string;+ title?: string;}let { height = 0, title }: Props = $props();</script><div class="overflow-clip" style:height={height + 'px'}>- <div- class="flex pt-7 pb-5 h-6 place-items-center text-xs font-medium text-immich-fg bg-light dark:text-immich-dark-fg md:text-sm"- >- {title}- </div>+ {#if title}+ <div+ class="flex pt-7 pb-5 h-6 place-items-center text-xs font-medium text-immich-fg bg-light dark:text-immich-dark-fg md:text-sm"+ >+ {title}+ </div>+ {/if}<divclass="animate-pulse absolute h-full ms-[10px] me-[10px]"style:width="calc(100% - 20px)"