From 59bee23734bc41cbbd9d1b481ba33b2e30ac9316 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Fri, 2 Nov 2018 22:47:18 +0100 Subject: [PATCH] fix(input): remove clear icon in edge --- core/src/components/alert/alert.ios.scss | 3 +++ core/src/components/alert/alert.md.scss | 4 ++++ core/src/components/input/input.scss | 4 ++++ core/src/components/searchbar/searchbar.scss | 3 ++- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/core/src/components/alert/alert.ios.scss b/core/src/components/alert/alert.ios.scss index 5030468dd3..072ba7114e 100644 --- a/core/src/components/alert/alert.ios.scss +++ b/core/src/components/alert/alert.ios.scss @@ -96,6 +96,9 @@ font-weight: inherit; } + &::-ms-clear { + display: none; + } } diff --git a/core/src/components/alert/alert.md.scss b/core/src/components/alert/alert.md.scss index 63f4071546..28dc7057df 100644 --- a/core/src/components/alert/alert.md.scss +++ b/core/src/components/alert/alert.md.scss @@ -81,6 +81,10 @@ font-family: inherit; font-weight: inherit; } + + &::-ms-clear { + display: none; + } } .alert-input:focus { diff --git a/core/src/components/input/input.scss b/core/src/components/input/input.scss index bd6fdf9665..9a1fd8a834 100644 --- a/core/src/components/input/input.scss +++ b/core/src/components/input/input.scss @@ -88,6 +88,10 @@ &:-webkit-autofill { background-color: transparent; } + + &::-ms-clear { + display: none; + } } .native-input[disabled] { diff --git a/core/src/components/searchbar/searchbar.scss b/core/src/components/searchbar/searchbar.scss index 7a99055865..d50dbb4482 100644 --- a/core/src/components/searchbar/searchbar.scss +++ b/core/src/components/searchbar/searchbar.scss @@ -93,7 +93,8 @@ opacity: var(--placeholder-opacity); } - &::-webkit-search-cancel-button { + &::-webkit-search-cancel-button, + &::-ms-clear { display: none; } }