diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2019-01-25 15:52:53 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2019-01-25 15:52:53 +0000 |
commit | bc67c712a51973c5705017f3a06a71a8a6443015 (patch) | |
tree | aa2015ba86330c785cf7b19183ff92532df7f9bd | |
parent | a18a884ad9c5f67df6ca38e0d2b4cdb57ac7d97c (diff) | |
parent | 4d2da17ee13d585aae3b077faa35e6e214697123 (diff) | |
download | gitlab-ce-bc67c712a51973c5705017f3a06a71a8a6443015.tar.gz |
Merge branch 'winh-shame-ms-clear' into 'master'
Add .ms-no-clear to disable duplicate clear icon in IE / Edge
See merge request gitlab-org/gitlab-ce!24640
-rw-r--r-- | app/assets/stylesheets/framework/common.scss | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/common.scss b/app/assets/stylesheets/framework/common.scss index a499a3a9f95..18df4a5f37d 100644 --- a/app/assets/stylesheets/framework/common.scss +++ b/app/assets/stylesheets/framework/common.scss @@ -408,3 +408,14 @@ img.emoji { .gl-pr-3 { padding-right: #{2 * $grid-size}; } .gl-pr-4 { padding-right: #{3 * $grid-size}; } .gl-pr-5 { padding-right: #{4 * $grid-size}; } + +/** + * Removes browser specific clear icon from input fields in + * Internet Explorer 10, Internet Explorer 11, and Microsoft Edge. + * This is intended for elements which add a customized clear icon. + * + * see also https://developer.mozilla.org/en-US/docs/Web/CSS/::-ms-clear + */ +.ms-no-clear ::-ms-clear { + display: none; +} |