File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
@import ' ../core/style/variables' ;
2
2
@import ' ../core/style/vendor-prefixes' ;
3
3
4
-
5
4
// The Input element proper.
6
5
.mat-input-element {
7
6
// Font needs to be inherited, because by default <input> has a system font.
39
38
}
40
39
41
40
// Remove IE's default clear and reveal icons.
42
- & ::-ms-clear , & ::-ms-reveal {
41
+ & ::-ms-clear ,
42
+ & ::-ms-reveal {
43
43
display : none ;
44
44
}
45
45
46
+ // Also clear Safari's autofill icons. Note that this can't be in the
47
+ // same selector as the IE ones, otherwise Safari will ignore it.
48
+ & ::-webkit-contacts-auto-fill-button ,
49
+ & ::-webkit-caps-lock-indicator ,
50
+ & ::-webkit-credentials-auto-fill-button {
51
+ visibility : hidden ;
52
+ }
53
+
46
54
// Fixes an issue on iOS where the following input types will collapse to 1px,
47
55
// if they're empty, because we've overridden their background color.
48
56
// See: https://stackoverflow.com/questions/18381594/input-type-date-appearance-in-safari-on-ios
You can’t perform that action at this time.
0 commit comments