Skip to content

Commit 9900413

Browse files
author
r00ster91
committed
feat: indent keyboard shortcuts
This indents the keyboard shortcuts related to the S key because you can only use these keyboard shortcuts after you pressed S (when the search field is focused). This is a visual hint.
1 parent e1eaa1f commit 9900413

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lib/docs/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -722,11 +722,13 @@ <h2>Tests</h2>
722722
<div class="modal">
723723
<h1>Keyboard Shortcuts</h1>
724724
<dl><dt><kbd>?</kbd></dt><dd>Show this help modal</dd></dl>
725-
<dl><dt><kbd>Esc</kbd></dt><dd>Clear focus; close this modal</dd></dl>
726725
<dl><dt><kbd>s</kbd></dt><dd>Focus the search field</dd></dl>
727-
<dl><dt><kbd></kbd></dt><dd>Move up in search results</dd></dl>
728-
<dl><dt><kbd></kbd></dt><dd>Move down in search results</dd></dl>
729-
<dl><dt><kbd></kbd></dt><dd>Go to active search result</dd></dl>
726+
<div style="margin-left: 1em">
727+
<dl><dt><kbd></kbd></dt><dd>Move up in search results</dd></dl>
728+
<dl><dt><kbd></kbd></dt><dd>Move down in search results</dd></dl>
729+
<dl><dt><kbd></kbd></dt><dd>Go to active search result</dd></dl>
730+
</div>
731+
<dl><dt><kbd>Esc</kbd></dt><dd>Clear focus; close this modal</dd></dl>
730732
</div>
731733
</div>
732734
</div>

0 commit comments

Comments
 (0)