only margin-right in MediaScroller

This commit is contained in:
2024-01-24 11:09:54 +01:00
parent 31240dc944
commit 8029c8bbee
2 changed files with 8 additions and 5 deletions

View File

@@ -30,14 +30,14 @@ h1{
<MediaScroller title="In Saison">
{#each data.season as recipe}
<Card {recipe} {current_month}></Card>
<Card {recipe} {current_month} do_margin_right={true}></Card>
{/each}
</MediaScroller>
{#each categories as category}
<MediaScroller title={category}>
{#each data.all_brief.filter(recipe => recipe.category == category) as recipe}
<Card {recipe} {current_month}></Card>
<Card {recipe} {current_month} do_margin_right={true}></Card>
{/each}
</MediaScroller>
{/each}