Skip to content

Commit 4b434af

Browse files
adjust padding / margin for default-sized button
1 parent ddc857c commit 4b434af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const buttonVariants = cva(
2121
link: 'text-primary underline-offset-4 hover:underline',
2222
},
2323
size: {
24-
default: 'h-9 px-4 py-2 has-[>svg]:px-3',
24+
default: 'h-9 px-2 py-1 mx-2',
2525
sm: 'h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5',
2626
lg: 'h-10 rounded-md px-6 has-[>svg]:px-4',
2727
icon: 'size-9',

0 commit comments

Comments
 (0)