diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-01-24 20:47:25 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-01-25 11:17:17 +0300 |
commit | 4d2da17ee13d585aae3b077faa35e6e214697123 (patch) | |
tree | 3fb3639e3591b580b7bbca5af783a6982278c99a /app/assets/stylesheets | |
parent | 46b881de986d11d15c0042d10357e88ebba8a7e4 (diff) |
Add .ms-no-clear to disable duplicate clear icon in IE / Edge
Diffstat (limited to 'app/assets/stylesheets')
-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; +} |