fix: remove redundant shadcn component className overrides

This commit is contained in:
2026-04-08 01:43:55 -04:00
parent a819cbfced
commit a3000def67
6 changed files with 12 additions and 17 deletions

View File

@@ -98,7 +98,7 @@ export const EventCard = ({ event, onEdit, onDelete }: EventCardProps) => {
<Button
variant="link"
size="sm"
className="inline-flex items-center gap-1 h-auto p-0 text-xs text-primary/70 hover:text-primary"
className="gap-1 h-auto p-0 text-xs text-primary/70 hover:text-primary"
asChild
>
<a
@@ -132,7 +132,7 @@ export const EventCard = ({ event, onEdit, onDelete }: EventCardProps) => {
</DropdownMenuTrigger>
<DropdownMenuContent align="end" className="w-36">
<DropdownMenuItem onClick={handleEdit}>
<Pencil className="h-3.5 w-3.5 mr-2" />
<Pencil className="h-3.5 w-3.5" />
Edit
</DropdownMenuItem>
<DropdownMenuSeparator />
@@ -140,7 +140,7 @@ export const EventCard = ({ event, onEdit, onDelete }: EventCardProps) => {
onClick={() => onDelete(event.id)}
className="text-destructive focus:text-destructive"
>
<Trash2 className="h-3.5 w-3.5 mr-2" />
<Trash2 className="h-3.5 w-3.5" />
Delete
</DropdownMenuItem>
</DropdownMenuContent>