authorgravatar for r00ster91@proton.meWooster <r00ster91@proton.me> 2022-08-14 11:35:11+02:00
committergravatar for r00ster91@proton.meWooster <r00ster91@proton.me> 2022-08-14 11:54:51+02:00
log9900413eb12a3eea74fff74025ae8c33d9425439
tree6bdd2ba013db8398346acd6e70aa17d2049711d7
parente1eaa1f7d6a71cb33f76995cb945f1cb67cccc63

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 files changed, 6 insertions(+), 4 deletions(-)

lib/docs/index.html+6-4
......@@ -722,11 +722,13 @@
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>