Skip to content

Commit

Permalink
increase consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Feb 4, 2020
1 parent ecea3ac commit 3e09dfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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
2 changes: 1 addition & 1 deletion packages/material-ui/src/OutlinedInput/NotchedOutline.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const styles = theme => {
textAlign: 'left',
padding: 0,
height: 11, // sync with `lineHeight` in `legend` styles
fontSize: '1.05rem',
fontSize: '0.75em',
visibility: 'hidden',
maxWidth: 0.01,
transition: theme.transitions.create('max-width', {
Expand Down

0 comments on commit 3e09dfc

Please sign in to comment.