refactor: simplify CommentComposer button layout and update placeholder text in CommentItem

This commit is contained in:
Anish Sarkar 2026-04-05 23:14:54 +05:30
parent c9e5fe9cdb
commit 7fa1810d50
3 changed files with 14 additions and 18 deletions

View file

@ -21,9 +21,9 @@ export function CommentActions({ canEdit, canDelete, onEdit, onDelete }: Comment
<Button
variant="ghost"
size="icon"
className="size-7 opacity-100 md:opacity-0 md:group-hover:opacity-100 transition-opacity"
className="size-7 text-muted-foreground opacity-100 md:opacity-0 md:group-hover:opacity-100 transition-opacity"
>
<MoreHorizontal className="size-4 text-muted-foreground" />
<MoreHorizontal className="size-4" />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end">