mirror of
https://github.com/immich-app/immich.git
synced 2025-08-11 09:16:31 -04:00
fix(web): fix layout loop with single row grids in explore page (#20833)
This commit is contained in:
parent
03a8b6cb38
commit
e7060dc292
@ -52,7 +52,7 @@
|
|||||||
draggable="false">{$t('view_all')}</a
|
draggable="false">{$t('view_all')}</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<SingleGridRow class="grid md:grid-auto-fill-28 grid-auto-fill-20 gap-x-4">
|
<SingleGridRow class="grid grid-flow-col md:grid-auto-fill-28 grid-auto-fill-20 gap-x-4">
|
||||||
{#snippet children({ itemCount })}
|
{#snippet children({ itemCount })}
|
||||||
{#each people.slice(0, itemCount) as person (person.id)}
|
{#each people.slice(0, itemCount) as person (person.id)}
|
||||||
<a href="{AppRoute.PEOPLE}/{person.id}" class="text-center relative">
|
<a href="{AppRoute.PEOPLE}/{person.id}" class="text-center relative">
|
||||||
@ -86,7 +86,7 @@
|
|||||||
draggable="false">{$t('view_all')}</a
|
draggable="false">{$t('view_all')}</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<SingleGridRow class="grid md:grid-auto-fill-36 grid-auto-fill-28 gap-x-4">
|
<SingleGridRow class="grid grid-flow-col md:grid-auto-fill-36 grid-auto-fill-28 gap-x-4">
|
||||||
{#snippet children({ itemCount })}
|
{#snippet children({ itemCount })}
|
||||||
{#each places.slice(0, itemCount) as item (item.data.id)}
|
{#each places.slice(0, itemCount) as item (item.data.id)}
|
||||||
<a
|
<a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user