mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-02 19:55:18 +02:00
Fix not centered cards on mobile
This commit is contained in:
parent
fcc97f4e6e
commit
9ad8a4ba8e
2 changed files with 2 additions and 6 deletions
|
@ -116,9 +116,7 @@
|
|||
</article>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="grid xl:grid-cols-3 lg:grid-cols-3 md:grid-cols-2 sm:grid-cols-1 gap-4 mt-4 content-center auto-cols-auto ml-6 mr-6"
|
||||
>
|
||||
<div class="flex flex-wrap gap-4 mr-4 ml-4 justify-center content-center">
|
||||
{#each data.result as adventure (adventure.id)}
|
||||
<AdventureCard type="featured" on:add={add} {adventure} />
|
||||
{/each}
|
||||
|
|
|
@ -248,9 +248,7 @@
|
|||
</div>
|
||||
{/if}
|
||||
|
||||
<div
|
||||
class="grid xl:grid-cols-3 lg:grid-cols-3 md:grid-cols-2 sm:grid-cols-1 gap-4 mt-4 content-center auto-cols-auto ml-6 mr-6"
|
||||
>
|
||||
<div class="flex flex-wrap gap-4 mr-4 ml-4 justify-center content-center">
|
||||
{#each adventuresPlans as adventure (adventure.id)}
|
||||
<AdventureCard
|
||||
{adventure}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue