Skip to content

Commit

Permalink
Search form: use type "search" (#39)
Browse files Browse the repository at this point in the history
for UX purposes
  • Loading branch information
aTei authored Jan 31, 2021
1 parent 8faf243 commit 93e0b6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cljs-server/cljs_cheatsheet_server/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@
[:h1
[:img {:src "img/cljs-ring.svg" :alt "ClojureScript Logo"}]
"ClojureScript Cheatsheet"]
[:input#searchInput {:type "text" :placeholder "Search"}]])
[:input#searchInput {:type "search" :placeholder "Search"}]])


(def clojure-cheatsheet-href "http://clojure.org/cheatsheet")
Expand Down
2 changes: 1 addition & 1 deletion less/010-cheatsheet.less
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ header {
}
}

input[type="text"] {
input[type="search"] {
box-sizing: border-box;
margin-left: auto;
padding: 5px 10px;
Expand Down

0 comments on commit 93e0b6e

Please sign in to comment.