From 002f07fbd814188df0cd6bd8dcb8d492b4814d5f Mon Sep 17 00:00:00 2001 From: Carlos Adriano Miranda Date: Sat, 1 Feb 2020 06:45:21 -0300 Subject: [PATCH] [TextField] Handle leaky global styles of Bootstrap (#19495) --- packages/material-ui/src/OutlinedInput/NotchedOutline.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/material-ui/src/OutlinedInput/NotchedOutline.js b/packages/material-ui/src/OutlinedInput/NotchedOutline.js index 9a339d0c9cdd1f..638a936f2d6dd5 100644 --- a/packages/material-ui/src/OutlinedInput/NotchedOutline.js +++ b/packages/material-ui/src/OutlinedInput/NotchedOutline.js @@ -35,6 +35,7 @@ export const styles = theme => { /* Styles applied to the legend element. */ legendLabelled: { display: 'block', + width: 'auto', textAlign: 'left', padding: 0, height: 11, // sync with `lineHeight` in `legend` styles