Skip to content

Commit

Permalink
[TextField] Avoid outline label CSS leak (mui#19937)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoiv authored and eps1lon committed Mar 4, 2020
1 parent e5bbe1f commit fc6f306
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/material-ui/src/OutlinedInput/NotchedOutline.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ export const styles = theme => {
duration: 50,
easing: theme.transitions.easing.easeOut,
}),
'& span': {
'& > span': {
paddingLeft: 5,
paddingRight: 5,
display: 'inline-block',
},
},
/* Styles applied to the legend element is notched. */
Expand Down

0 comments on commit fc6f306

Please sign in to comment.