Skip to content

Commit 83a0cc6

Browse files
fix(web): fix layout loop with single row grids in explore page
1 parent 4b9019e commit 83a0cc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/routes/(user)/explore/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
draggable="false">{$t('view_all')}</a
5353
>
5454
</div>
55-
<SingleGridRow class="grid md:grid-auto-fill-28 grid-auto-fill-20 gap-x-4">
55+
<SingleGridRow class="grid grid-flow-col md:grid-auto-fill-28 grid-auto-fill-20 gap-x-4">
5656
{#snippet children({ itemCount })}
5757
{#each people.slice(0, itemCount) as person (person.id)}
5858
<a href="{AppRoute.PEOPLE}/{person.id}" class="text-center relative">
@@ -86,7 +86,7 @@
8686
draggable="false">{$t('view_all')}</a
8787
>
8888
</div>
89-
<SingleGridRow class="grid md:grid-auto-fill-36 grid-auto-fill-28 gap-x-4">
89+
<SingleGridRow class="grid grid-flow-col md:grid-auto-fill-36 grid-auto-fill-28 gap-x-4">
9090
{#snippet children({ itemCount })}
9191
{#each places.slice(0, itemCount) as item (item.data.id)}
9292
<a

0 commit comments

Comments
 (0)