Skip to content

Commit 6a05585

Browse files
[material-ui][Checkbox] Asterisk placement aligned correctly (#39721)
Signed-off-by: Axel Boström <[email protected]> Co-authored-by: Albert Yu <[email protected]>
1 parent 3bada36 commit 6a05585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/mui-material/src/FormControlLabel/FormControlLabel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ const FormControlLabel = React.forwardRef(function FormControlLabel(inProps, ref
166166
>
167167
{React.cloneElement(control, controlProps)}
168168
{required ? (
169-
<Stack direction="row" alignItems="center">
169+
<Stack display="block">
170170
{label}
171171
<AsteriskComponent ownerState={ownerState} aria-hidden className={classes.asterisk}>
172172
&thinsp;{'*'}

0 commit comments

Comments
 (0)