Add p to tell user about enter to open

This commit is contained in:
Akbar Rahman 2021-08-24 15:36:42 +01:00
parent 8871faaef0
commit 0c5f367ceb
2 changed files with 10 additions and 0 deletions

View File

@ -106,3 +106,12 @@ blockquote * {
margin: 0; margin: 0;
padding: 0 padding: 0
} }
kbd {
background-color: #d9d9d9;
border-radius: 0.25em;
padding: 0.2em;
box-shadow: 0.15em 0.15em 0 #c9c9c9;
margin-left: 0.2em;
margin-right: 0.2em;
}

View File

@ -16,6 +16,7 @@ Browse <a href="/notes">here</a> or by tag <a href="/.tags">here</a>.
<input placeholder="Search" id="search"> <input placeholder="Search" id="search">
<input type="number" id="resultsMax" min="0" value="5"> <input type="number" id="resultsMax" min="0" value="5">
</div> </div>
<p class="smallText" style="margin-top: 0; text-align: center;"> Press <kbd>Enter</kbd> to open first result or <kbd>Shift</kbd>+<kbd>Enter</kbd> to open in new tab</p>
<div id="results"> <div id="results">
</div> </div>