Skip to content

Commit 875bc53

Browse files
authored
Merge pull request #136 from lambda-curry/fix/radio-group-spacing
2 parents 0abcba2 + acce5f9 commit 875bc53

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lambdacurry/forms",
3-
"version": "0.19.5",
3+
"version": "0.19.6",
44
"type": "module",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",

packages/components/src/ui/radio-group-item-field.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const RadioGroupItemField = ({
3131
const LabelComponent = components?.Label || Label;
3232

3333
return (
34-
<div className={cn('flex items-center space-x-2', wrapperClassName)}>
34+
<div className={cn('flex items-center', wrapperClassName)}>
3535
<RadioGroupItemComponent
3636
className={cn(
3737
'h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
@@ -47,7 +47,7 @@ const RadioGroupItemField = ({
4747
<LabelComponent
4848
htmlFor={props.id}
4949
className={cn(
50-
'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',
50+
'text-sm pl-2 font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',
5151
labelClassName,
5252
)}
5353
>

0 commit comments

Comments
 (0)