File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,12 @@ export const styles = theme => {
106
106
/* Styles applied to the `input` element. */
107
107
input : {
108
108
padding : '27px 12px 10px' ,
109
+ '&:-webkit-autofill' : {
110
+ WebkitBoxShadow : theme . palette . type === 'dark' ? '0 0 0 100px #266798 inset' : null ,
111
+ WebkitTextFillColor : theme . palette . type === 'dark' ? '#fff' : null ,
112
+ borderTopLeftRadius : 'inherit' ,
113
+ borderTopRightRadius : 'inherit' ,
114
+ } ,
109
115
} ,
110
116
/* Styles applied to the `input` element if `margin="dense"`. */
111
117
inputMarginDense : {
Original file line number Diff line number Diff line change @@ -65,6 +65,11 @@ export const styles = theme => {
65
65
/* Styles applied to the `input` element. */
66
66
input : {
67
67
padding : '18.5px 14px' ,
68
+ '&:-webkit-autofill' : {
69
+ WebkitBoxShadow : theme . palette . type === 'dark' ? '0 0 0 100px #266798 inset' : null ,
70
+ WebkitTextFillColor : theme . palette . type === 'dark' ? '#fff' : null ,
71
+ borderRadius : theme . shape . borderRadius ,
72
+ } ,
68
73
} ,
69
74
/* Styles applied to the `input` element if `margin="dense"`. */
70
75
inputMarginDense : {
You can’t perform that action at this time.
0 commit comments