From 598071fa787731bbaffc67fd721df08a464d6326 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 12 May 2020 18:59:15 +0200 Subject: [PATCH] Remove conflicting "clear search" buttons added by Chrome --- app/assets/stylesheets/darkswarm/shop_search.css.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/assets/stylesheets/darkswarm/shop_search.css.scss b/app/assets/stylesheets/darkswarm/shop_search.css.scss index fccde6de79..cbe0bf6bd4 100644 --- a/app/assets/stylesheets/darkswarm/shop_search.css.scss +++ b/app/assets/stylesheets/darkswarm/shop_search.css.scss @@ -38,6 +38,14 @@ &::placeholder { font-style: italic; } + + // Remove conflicting "clear search" buttons added by Chrome + &::-webkit-search-decoration, + &::-webkit-search-cancel-button, + &::-webkit-search-results-button, + &::-webkit-search-results-decoration { + display: none; + } } button {