Skip to content

Commit

Permalink
[FormHelperText] change top gap, remove lineHeight and minHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
suliskh committed Jan 26, 2020
1 parent 0ad3b6d commit a7c8ac5
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 a7c8ac5

Please sign in to comment.