From 3d56707be48dd609ad1551beb69fc49bb1529870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Ku=C5=9Bmierz?= Date: Sun, 26 Jan 2020 22:39:29 +0100 Subject: [PATCH] [TextField] Fix label notch for custom htmlFontSize (#19409) --- packages/material-ui/src/OutlinedInput/NotchedOutline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/OutlinedInput/NotchedOutline.js b/packages/material-ui/src/OutlinedInput/NotchedOutline.js index 374f86068b3524..bb51e7a71adfc0 100644 --- a/packages/material-ui/src/OutlinedInput/NotchedOutline.js +++ b/packages/material-ui/src/OutlinedInput/NotchedOutline.js @@ -37,7 +37,7 @@ export const styles = theme => { textAlign: 'left', padding: 0, height: 11, // sync with `lineHeight` in `legend` styles - fontSize: '0.75rem', + fontSize: '0.75em', visibility: 'hidden', maxWidth: 0.01, transition: theme.transitions.create('max-width', {