summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/common.scss
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-01-24 18:47:25 +0100
committerWinnie Hellmann <winnie@gitlab.com>2019-01-25 09:17:17 +0100
commit4d2da17ee13d585aae3b077faa35e6e214697123 (patch)
tree3fb3639e3591b580b7bbca5af783a6982278c99a /app/assets/stylesheets/framework/common.scss
parent46b881de986d11d15c0042d10357e88ebba8a7e4 (diff)
downloadgitlab-ce-4d2da17ee13d585aae3b077faa35e6e214697123.tar.gz
Add .ms-no-clear to disable duplicate clear icon in IE / Edge
Diffstat (limited to 'app/assets/stylesheets/framework/common.scss')
-rw-r--r--app/assets/stylesheets/framework/common.scss11
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;
+}