fix: remove redundant shadcn component className overrides
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user