Skip to content

Commit ddf98a0

Browse files
committed
Align custom Badge with designs
1 parent f45a57f commit ddf98a0

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/components/badge/index.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,10 @@ type BadgeProps = Omit<React.ComponentProps<typeof BaseBadge>, 'variant'> & {
4848
}
4949

5050
export const Badge = ({ variant, ...props }: BadgeProps) => {
51-
return <BaseBadge className={cn(customBadgeVariants({ variant }))} {...props} />
51+
return (
52+
<BaseBadge
53+
className={cn(customBadgeVariants({ variant }), 'px-2.5 py-0.5 rounded-full text-xs')}
54+
{...props}
55+
/>
56+
)
5257
}

0 commit comments

Comments
 (0)