From 5956b82d9d69f8645adc734862a014d2e538d8fe Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 18 Oct 2018 08:50:26 +0900 Subject: [PATCH] Remove the clear search button in WebKit --- mixins/FuzzySearch.pixy | 2 +- styles/search.scarlet | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mixins/FuzzySearch.pixy b/mixins/FuzzySearch.pixy index 77620747..e56577cb 100644 --- a/mixins/FuzzySearch.pixy +++ b/mixins/FuzzySearch.pixy @@ -1,2 +1,2 @@ component FuzzySearch - input#search.action(data-action="search", data-trigger="input", type="search", placeholder="Search...", title="Shortcut: F") \ No newline at end of file + input#search.action(data-action="search", data-trigger="input", type="search", autocomplete="off", autocorrect="off", autocapitalize="none", spellcheck="false", placeholder="Search...", title="Shortcut: F") \ No newline at end of file diff --git a/styles/search.scarlet b/styles/search.scarlet index 64072cb6..3c57ec8c 100644 --- a/styles/search.scarlet +++ b/styles/search.scarlet @@ -13,6 +13,9 @@ color link-color opacity 1.0 + ::-webkit-search-cancel-button + display none + // Microphone icon .speech-input display none