Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix(textfield): remove Chrome icons for date types
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 322700477
  • Loading branch information
asyncLiz authored and copybara-github committed Jul 23, 2020
1 parent bbd0669 commit 4951e76
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/mdc-textfield/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2180,11 +2180,17 @@
appearance: none;
padding: 0;

// Remove built-in trailing clear icon on IE11
// Remove built-in trailing clear icon on IE11. IE vendor prefixes cannot
// be combined with other vendor prefixes like the webkit one below.
&::-ms-clear {
display: none;
}

// Remove built-in datepicker icon on Chrome
&::-webkit-calendar-picker-indicator {
display: none;
}

&:focus {
outline: none;
}
Expand Down

0 comments on commit 4951e76

Please sign in to comment.