fix(web): fix layout loop with single row grids in explore page (#20833)

This commit is contained in:
Gabriel Soldani 2025-08-10 23:31:26 -03:00 committed by GitHub
parent 03a8b6cb38
commit e7060dc292
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,7 +52,7 @@
draggable="false">{$t('view_all')}</a
>
</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 })}
{#each people.slice(0, itemCount) as person (person.id)}
<a href="{AppRoute.PEOPLE}/{person.id}" class="text-center relative">
@ -86,7 +86,7 @@
draggable="false">{$t('view_all')}</a
>
</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 })}
{#each places.slice(0, itemCount) as item (item.data.id)}
<a