mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-05 13:15:18 +02:00
Merge pull request #85 from seanmorley15/development
Fix not centered cards on mobile
This commit is contained in:
commit
4cd9ee7819
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