UX: fix #2416, small code cleanup

This commit is contained in:
Pieter Vander Vennet 2025-05-13 16:13:05 +02:00
parent a4fe5a11ed
commit 77afd8b426
8 changed files with 57 additions and 66 deletions

View file

@ -54,6 +54,7 @@
<div
class="my-2 flex flex-col border-b border-gray-500"
class:border-interactive={comment.highlighted}
class:px-2={comment.highlighted}
>
<div class="flex items-center">
<!-- Action icon, e.g. 'created', 'commented', 'closed' -->
@ -101,7 +102,7 @@
{:else}
<a href={comment.user_url} target="_blank">{comment.user}</a>
{/if}
{comment.date}
{comment.date ?? new Date().toISOString()}
</span>
</div>
</div>