Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TextField] Reduce helper text height to match spec #19390

Merged
merged 1 commit into from
Jan 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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