Skip to content

Commit 3e09dfc

Browse files
increase consistency
1 parent ecea3ac commit 3e09dfc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/material-ui/src/InputBase/InputBase.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ export const styles = theme => {
3939
/* Styles applied to the root element. */
4040
root: {
4141
// Mimics the default input display property used by browsers for an input.
42-
fontFamily: theme.typography.fontFamily,
42+
...theme.typography.body1,
4343
color: theme.palette.text.primary,
44-
fontSize: theme.typography.pxToRem(16),
4544
lineHeight: '1.1875em', // Reset (19px), match the native input line-height
4645
boxSizing: 'border-box', // Prevent padding issue with fullWidth.
4746
position: 'relative',

packages/material-ui/src/OutlinedInput/NotchedOutline.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const styles = theme => {
3939
textAlign: 'left',
4040
padding: 0,
4141
height: 11, // sync with `lineHeight` in `legend` styles
42-
fontSize: '1.05rem',
42+
fontSize: '0.75em',
4343
visibility: 'hidden',
4444
maxWidth: 0.01,
4545
transition: theme.transitions.create('max-width', {

0 commit comments

Comments
 (0)