Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2019-05-28 22:25:55 +0300
committerAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2019-05-28 22:25:55 +0300
commit8b200634c4909f12cd012c3197c4ffbaf50b99d5 (patch)
tree5d103506fa4d3cd51b665d20205c770fa3289317 /app/assets
parentadfb6d9fbb840a176d944b9ac8e3b88e25d6e045 (diff)
parent147c03597a1da243eb69ccd74cbbe7ad617e887e (diff)
Merge branch '62227-webkit-icon-overlap' into 'master'
Disable webkit icons Closes #62227 See merge request gitlab-org/gitlab-ce!28833
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/pages/search.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/search.scss b/app/assets/stylesheets/pages/search.scss
index 37071a57bb3..dbf600df9d6 100644
--- a/app/assets/stylesheets/pages/search.scss
+++ b/app/assets/stylesheets/pages/search.scss
@@ -261,3 +261,13 @@ input[type='checkbox']:hover {
color: $blue-600;
}
}
+
+// Disable webkit input icons, link to solution: https://stackoverflow.com/questions/9421551/how-do-i-remove-all-default-webkit-search-field-styling
+/* stylelint-disable property-no-vendor-prefix */
+input[type='search']::-webkit-search-decoration,
+input[type='search']::-webkit-search-cancel-button,
+input[type='search']::-webkit-search-results-button,
+input[type='search']::-webkit-search-results-decoration {
+ -webkit-appearance: none;
+}
+/* stylelint-enable */