Skip to content

Commit aaa9cd4

Browse files
committed
fix: checkbox and radio label size
1 parent cbaf95e commit aaa9cd4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

app/components/ui/checkbox.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import { cn } from '@/lib/tailwind/utils';
88
const labelVariants = cva('flex items-center gap-2.5 text-primary', {
99
variants: {
1010
size: {
11-
default: 'text-base',
12-
sm: 'gap-2 text-sm',
13-
lg: 'gap-3 text-lg',
11+
default: 'text-sm',
12+
sm: 'gap-2 text-xs',
13+
lg: 'gap-3 text-base',
1414
},
1515
},
1616
defaultVariants: {

app/components/ui/radio-group.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import { cn } from '@/lib/tailwind/utils';
99
const labelVariants = cva('flex items-center gap-2.5 text-primary', {
1010
variants: {
1111
size: {
12-
default: 'text-base',
13-
sm: 'gap-2 text-sm',
14-
lg: 'gap-3 text-lg',
12+
default: 'text-sm',
13+
sm: 'gap-2 text-xs',
14+
lg: 'gap-3 text-base',
1515
},
1616
},
1717
defaultVariants: {

0 commit comments

Comments
 (0)