fixes list icon size in trail edit

This commit is contained in:
Christian Beutel
2024-04-15 18:17:32 +02:00
parent 4c3fc8cab6
commit 52606a8ea9
2 changed files with 16 additions and 7 deletions

View File

@@ -167,6 +167,19 @@
<h4 class="text-4xl font-bold"> <h4 class="text-4xl font-bold">
{trail.name} {trail.name}
</h4> </h4>
{#if trail.date}
<h5 class="text-sm">
{new Date(trail.date).toLocaleDateString(
undefined,
{
month: "long",
day: "2-digit",
year: "numeric",
timeZone: "UTC",
},
)}
</h5>
{/if}
<div class="flex flex-wrap gap-x-8 gap-y-2 mt-4 mr-8"> <div class="flex flex-wrap gap-x-8 gap-y-2 mt-4 mr-8">
{#if trail.location} {#if trail.location}
<h3 class="text-lg"> <h3 class="text-lg">

View File

@@ -646,11 +646,7 @@
alt="avatar" alt="avatar"
/> />
{:else} {:else}
<div <i class="fa fa-table-list text-2xl"></i>
class="flex w-4 aspect-square shrink-0 items-center justify-center"
>
<i class="fa fa-table-list text-5xl"></i>
</div>
{/if} {/if}
<span class="text-sm">{list.name}</span> <span class="text-sm">{list.name}</span>
</div> </div>