fixes list icon size in trail edit
This commit is contained in:
@@ -167,6 +167,19 @@
|
||||
<h4 class="text-4xl font-bold">
|
||||
{trail.name}
|
||||
</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">
|
||||
{#if trail.location}
|
||||
<h3 class="text-lg">
|
||||
|
||||
@@ -269,7 +269,7 @@
|
||||
.get_start_time()
|
||||
.toISOString()
|
||||
.substring(0, 10);
|
||||
} else if(!$form.date) {
|
||||
} else if (!$form.date) {
|
||||
$form.date = new Date().toISOString().substring(0, 10);
|
||||
}
|
||||
|
||||
@@ -646,11 +646,7 @@
|
||||
alt="avatar"
|
||||
/>
|
||||
{:else}
|
||||
<div
|
||||
class="flex w-4 aspect-square shrink-0 items-center justify-center"
|
||||
>
|
||||
<i class="fa fa-table-list text-5xl"></i>
|
||||
</div>
|
||||
<i class="fa fa-table-list text-2xl"></i>
|
||||
{/if}
|
||||
<span class="text-sm">{list.name}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user