Align time text to right
continuous-integration/drone/push Build is passing Details

This commit is contained in:
DutchEllie 2022-07-13 13:22:25 +02:00
parent 3bd7b3076f
commit 5356890963
Signed by: DutchEllie
SSH Key Fingerprint: SHA256:dKq6ZSgN5E3Viqrw/+xAdf2VdR6hdRGNyrYqXXwfjTY
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<div class="rounded bg-red-100 dark:bg-slate-800 dark:ring-2 dark:ring-slate-400 mt-2 break-words"> <div class="rounded bg-red-100 dark:bg-slate-800 dark:ring-2 dark:ring-slate-400 mt-2 break-words">
<div class="rounded-t bg-slate-400 dark:bg-slate-700 grid grid-cols-2 gap-1 min-h-fit px-3 py-1"> <div class="rounded-t bg-slate-400 dark:bg-slate-700 grid grid-cols-2 gap-1 min-h-fit px-3 py-1">
<p class="text-xs">Author: {comment.name}</p> <p class="text-xs">Author: {comment.name}</p>
<p class="text-xs"> <p class="text-xs text-right">
Time: Time:
{#if comment.time != null} {#if comment.time != null}
{new Date(comment.time).toLocaleString('en-US', {dateStyle: 'long', timeStyle: 'short'})} {new Date(comment.time).toLocaleString('en-US', {dateStyle: 'long', timeStyle: 'short'})}