From 066ab1500fba1b4a0d6f5fff7678763dc62450c9 Mon Sep 17 00:00:00 2001 From: Matej Kramny Date: Sat, 8 Dec 2018 09:07:34 +0800 Subject: [PATCH] enable clear button in search input types (#300) --- src/scss/styles.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/scss/styles.scss b/src/scss/styles.scss index aecafba17c..058fee899e 100644 --- a/src/scss/styles.scss +++ b/src/scss/styles.scss @@ -254,6 +254,10 @@ label:not(.form-check-label):not(.btn), label.bold { font-weight: 600; } +input[type="search"]::-webkit-search-cancel-button { + -webkit-appearance: searchfield-cancel-button; +} + .btn[class*="btn-outline-"] { &:not(:hover) { border-color: $secondary;