From 0cf6b6e2462ae7e3ee93cc58a1961bb3f7c88613 Mon Sep 17 00:00:00 2001 From: Dalibor Loncarevic Date: Fri, 3 Jul 2020 18:07:42 -0400 Subject: [PATCH] Added text align to root --- packages/material-ui/src/OutlinedInput/NotchedOutline.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/material-ui/src/OutlinedInput/NotchedOutline.js b/packages/material-ui/src/OutlinedInput/NotchedOutline.js index 3f4174cbb3fc0e..b275c20d24598d 100644 --- a/packages/material-ui/src/OutlinedInput/NotchedOutline.js +++ b/packages/material-ui/src/OutlinedInput/NotchedOutline.js @@ -9,6 +9,7 @@ export const styles = (theme) => { return { /* Styles applied to the root element. */ root: { + textAlign: 'left', position: 'absolute', bottom: 0, right: 0, @@ -24,7 +25,6 @@ export const styles = (theme) => { }, /* Styles applied to the legend element when `labelWidth` is provided. */ legend: { - textAlign: 'left', padding: 0, lineHeight: '11px', // sync with `height` in `legend` styles transition: theme.transitions.create('width', { @@ -36,7 +36,6 @@ export const styles = (theme) => { legendLabelled: { display: 'block', width: 'auto', - textAlign: 'left', padding: 0, height: 11, // sync with `lineHeight` in `legend` styles fontSize: '0.75em',