Skip to content

Commit

Permalink
[TextField] Reduce helper text height to match spec (mui#19390)
Browse files Browse the repository at this point in the history
  • Loading branch information
suliskh authored and EsoterikStare committed Feb 13, 2020
1 parent 7fc01e4 commit ce5492b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/material-ui/src/FormHelperText/FormHelperText.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ export const styles = theme => ({
color: theme.palette.text.secondary,
...theme.typography.caption,
textAlign: 'left',
marginTop: 8,
lineHeight: '1em',
minHeight: '1em',
marginTop: 3,
margin: 0,
'&$disabled': {
color: theme.palette.text.disabled,
Expand All @@ -32,7 +30,8 @@ export const styles = theme => ({
},
/* Styles applied to the root element if `variant="filled"` or `variant="outlined"`. */
contained: {
margin: '8px 14px 0',
marginLeft: 14,
marginRight: 14,
},
/* Pseudo-class applied to the root element if `focused={true}`. */
focused: {},
Expand Down

0 comments on commit ce5492b

Please sign in to comment.