1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2025-01-06 21:49:40 +02:00

cheat-sheet: Add autofocus on load to search input text

This commit is contained in:
Guillaume BOEHM 2024-03-25 14:47:52 +01:00 committed by Fini
parent 8d72c0e151
commit e8a72155a7

View File

@ -10,7 +10,7 @@ style: container
<h1 class="center">Cheat Sheet</h1>
<input type="text" id="glyphSearch" placeholder="Search for glyphs/icons here..." title="Type in a glyph name or hex codepoint" class="nerd-font-cheat-sheet-search nerd-font-input tertiary sanity-test" />
<input type="text" id="glyphSearch" placeholder="Search for glyphs/icons here..." title="Type in a glyph name or hex codepoint" class="nerd-font-cheat-sheet-search nerd-font-input tertiary sanity-test" autofocus />
<div id="glyphCheatSheet" class="nerd-font-cheat-sheet"></div>