mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(input): remove IE clear icon (#8095)
Removes IE's native clear icon from inputs, because it makes them inconsistent between browsers. Fixes #8076.
This commit is contained in:
committed by
Andrew Seguin
parent
c4e12b5b65
commit
2fa679bb00
@@ -32,6 +32,11 @@
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
// Remove IE's default clear icon.
|
||||
&::-ms-clear {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Note that we can't use something like visibility: hidden or
|
||||
// display: none, because IE ends up preventing the user from
|
||||
// focusing the input altogether.
|
||||
|
||||
Reference in New Issue
Block a user