Skip to content

Commit

Permalink
Use Search input for Search
Browse files Browse the repository at this point in the history
This has a few advantages, one of which is being able to press <kbd>Escape</kbd> to clear the input. It's more semantically correct too :-)
  • Loading branch information
coliff committed Nov 15, 2024
1 parent f09e4b1 commit 18cbb43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="input-container" [class.hideInput]="!showInput">
<input
#searchInput
type="text"
type="search"
aria-label="Search in docs"
name="search"
placeholder="Search..."
Expand Down

0 comments on commit 18cbb43

Please sign in to comment.