~xdavidwu/xdavidwu.link

abeaef53530504ad86a0b4197046a1182f664563 — xdavidwu 3 years ago 54f24cf
input: search: remove webkit cancel button

The search is real-time and cancel button shoud not benifit much
Disabling it makes the search consistent across browsers
1 files changed, 4 insertions(+), 0 deletions(-)

M _sass/minimal-mistakes/_reset.scss
M _sass/minimal-mistakes/_reset.scss => _sass/minimal-mistakes/_reset.scss +4 -0
@@ 135,3 135,7 @@ input[type="search"] { /* Appearance in Safari/Chrome*/
textarea {
  vertical-align: top; /* readability and alignment cross-browser*/
}

::-webkit-search-cancel-button {
  display: none;
}