feat(frontend): add clear-field-icon to search field (#498)

* feat(frontend): add button to clear search field

Clear input field button was not visible on all devices, this replaces native ones with an svg

* refactor(search): use tailwind css for button and change svg

* refactor(search): larger click area on reset button

Co-authored-by: Jakob Ankarhem <jakob.ankarhem@jetshop.se>
This commit is contained in:
Jakob Ankarhem
2020-12-26 15:43:22 +01:00
committed by GitHub
parent 46af705014
commit 7434a26f76
3 changed files with 17 additions and 2 deletions

View File

@@ -56,3 +56,7 @@ body {
code {
@apply px-2 py-1 bg-gray-800 rounded-md;
}
input[type='search']::-webkit-search-cancel-button {
-webkit-appearance: none;
}