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 EsoterikStare committed Mar 30, 2020
1 parent 52dac7b commit 66beeec
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 66beeec

Please sign in to comment.