Align time text to right
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
3bd7b3076f
commit
5356890963
|
@ -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'})}
|
||||||
|
|
Loading…
Reference in New Issue