Skip to content

Commit

Permalink
[TextField] Fix label notch for custom htmlFontSize (#19558)
Browse files Browse the repository at this point in the history
  • Loading branch information
kusmierz authored Feb 5, 2020
1 parent 18524c1 commit 3764e63
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/material-ui/src/InputBase/InputBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ export const styles = theme => {
/* Styles applied to the root element. */
root: {
// Mimics the default input display property used by browsers for an input.
fontFamily: theme.typography.fontFamily,
...theme.typography.body1,
color: theme.palette.text.primary,
fontSize: theme.typography.pxToRem(16),
lineHeight: '1.1875em', // Reset (19px), match the native input line-height
boxSizing: 'border-box', // Prevent padding issue with fullWidth.
position: 'relative',
Expand Down

0 comments on commit 3764e63

Please sign in to comment.