style: adjust the style of NoteStats (#222)

This commit is contained in:
Cody Tseng 2025-03-07 23:39:46 +08:00 committed by GitHub
parent 71895e3a0f
commit accf3319e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 417 additions and 186 deletions

View file

@ -26,7 +26,7 @@ export default function ReplyButton({
return (
<>
<button
className="flex gap-1 items-center text-muted-foreground enabled:hover:text-blue-400"
className="flex gap-1 items-center text-muted-foreground enabled:hover:text-blue-400 pr-3 h-full"
onClick={(e) => {
e.stopPropagation()
checkLogin(() => {
@ -35,7 +35,7 @@ export default function ReplyButton({
}}
title={t('Reply')}
>
<MessageCircle size={16} />
<MessageCircle />
{variant !== 'reply' && !!replyCount && (
<div className="text-sm">{formatCount(replyCount)}</div>
)}