Skip to content

Commit 12468d8

Browse files
chore(FormControl): remove sx props (#6295)
1 parent 7b8c91d commit 12468d8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.changeset/odd-bikes-march.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
chore(FormControl): remove sx props

packages/react/src/FormControl/FormControl.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,6 @@ const FormControl = React.forwardRef<HTMLDivElement, FormControlProps>(
191191
<Box
192192
ref={ref}
193193
data-has-label={!isLabelHidden ? '' : undefined}
194-
display="flex"
195-
flexDirection="column"
196-
alignItems="flex-start"
197194
sx={sx}
198195
className={clsx(className, classes.ControlVerticalLayout)}
199196
>

0 commit comments

Comments
 (0)