mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
fix: styling for last image in person grid (#13444)
* Add Display Content to LastPersonContainer Div * Update web/src/lib/components/faces-page/people-infinite-scroll.svelte Co-authored-by: Jason Rasmussen <jason@rasm.me> --------- Co-authored-by: manan <manan@manan.myguest.virtualbox.org> Co-authored-by: Jason Rasmussen <jason@rasm.me>
This commit is contained in:
parent
240de1239e
commit
c653c48ed2
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
<div class="w-full grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 xl:grid-cols-7 2xl:grid-cols-9 gap-1">
|
<div class="w-full grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 xl:grid-cols-7 2xl:grid-cols-9 gap-1">
|
||||||
{#each people as person, index (person.id)}
|
{#each people as person, index (person.id)}
|
||||||
{#if hasNextPage && index === people.length - 1}
|
{#if hasNextPage && index === people.length - 1}
|
||||||
<div bind:this={lastPersonContainer}>
|
<div bind:this={lastPersonContainer} class="contents">
|
||||||
<slot {person} {index} />
|
<slot {person} {index} />
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
|
|
Loading…
Reference in a new issue