Skip to content

Commit

Permalink
[material-ui][Checkbox] Asterisk placement aligned correctly (#39721)
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Boström <[email protected]>
Co-authored-by: Albert Yu <[email protected]>
  • Loading branch information
axelbostrom and mj12albert authored Nov 8, 2023
1 parent 3bada36 commit 6a05585
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const FormControlLabel = React.forwardRef(function FormControlLabel(inProps, ref
>
{React.cloneElement(control, controlProps)}
{required ? (
<Stack direction="row" alignItems="center">
<Stack display="block">
{label}
<AsteriskComponent ownerState={ownerState} aria-hidden className={classes.asterisk}>
&thinsp;{'*'}
Expand Down

0 comments on commit 6a05585

Please sign in to comment.