Skip to content

Commit a2bed6a

Browse files
committed
fix: radio field styling
1 parent 0926fe6 commit a2bed6a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/Form/BooleanField/BooleanFieldRadio.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,16 @@ export const BooleanFieldRadio = ({
4949

5050
return (
5151
<FieldGroup name={name}>
52-
<Label>{label}</Label>
52+
<FieldGroup.Row>
53+
<Label>{label}</Label>
54+
<FieldGroup.Description description={description} />
55+
</FieldGroup.Row>
5356
<RadioGroup
5457
disabled={disabled || readOnly}
5558
name={name}
5659
value={stringifyBoolean(value)}
5760
onValueChange={handleValueChange}
5861
>
59-
<FieldGroup.Description description={description} />
6062
<FieldGroup.Row>
6163
<RadioGroup.Item id={`${name}-true`} value="true" />
6264
<Label aria-disabled={disabled || readOnly} className="text-muted-foreground" htmlFor={`${name}-true`}>

0 commit comments

Comments
 (0)