chore: tweak statistics translation

This commit is contained in:
Steven
2024-03-26 23:49:37 +08:00
parent f637deacfc
commit 16cfef32d6
5 changed files with 16 additions and 8 deletions

View File

@ -100,7 +100,10 @@ const MemoView: React.FC<Props> = (props: Props) => {
{creator.nickname || creator.username}
</span>
</Link>
<div className="w-auto -mt-0.5 text-xs leading-tight text-gray-400 select-none" onClick={handleGotoMemoDetailPage}>
<div
className="w-auto -mt-0.5 text-xs leading-tight text-gray-400 dark:text-gray-500 select-none"
onClick={handleGotoMemoDetailPage}
>
<relative-time datetime={memo.displayTime?.toISOString()} format={relativeTimeFormat} tense="past"></relative-time>
</div>
</div>