Fix invisible adornments

This commit is contained in:
dominik-zeglen 2019-09-19 12:13:21 +02:00
parent 5a40f619e1
commit b87b0dcb6c
2 changed files with 4 additions and 2 deletions

View file

@ -30,6 +30,9 @@ const styles = (theme: Theme) =>
"& > div": { "& > div": {
padding: "0 14px" padding: "0 14px"
}, },
"& fieldset": {
background: theme.palette.background.paper
},
"& textarea": { "& textarea": {
"&::placeholder": { "&::placeholder": {
opacity: [[1], "!important"] as any opacity: [[1], "!important"] as any

View file

@ -281,8 +281,7 @@ export default (colors: IThemeColors): Theme =>
"& fieldset": { "& fieldset": {
"&&:not($error)": { "&&:not($error)": {
borderColor: colors.input.border borderColor: colors.input.border
}, }
background: colors.background.paper
}, },
"& legend": { "& legend": {
display: "none" display: "none"