1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-20 21:39:37 +02:00

fixed card layout

This commit is contained in:
Sean Morley 2024-07-16 15:44:37 -04:00
parent b39ac34b68
commit a5c248932a
2 changed files with 42 additions and 11 deletions

View file

@ -125,16 +125,18 @@
</figure>
<div class="card-body">
<h2 class="card-title break-words text-wrap">
{adventure.name}
</h2>
<div>
{#if adventure.type == 'visited'}
<div class="badge badge-primary">Visited</div>
{:else}
<div class="badge badge-secondary">Planned</div>
{/if}
<div class="badge badge-neutral">{adventure.is_public ? 'Public' : 'Private'}</div>
<div class="flex justify-between">
<h2 class="text-2xl font-semibold -mt-2 break-words text-wrap">
{adventure.name}
</h2>
<div>
{#if adventure.type == 'visited'}
<div class="badge badge-primary">Visited</div>
{:else}
<div class="badge badge-secondary">Planned</div>
{/if}
<div class="badge badge-neutral">{adventure.is_public ? 'Public' : 'Private'}</div>
</div>
</div>
{#if adventure.location && adventure.location !== ''}
<div class="inline-flex items-center">