This commit is contained in:
Tim Hoffmann 2025-02-16 06:27:19 +00:00 committed by GitHub
commit 6dbb2dac76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 7 deletions

View File

@ -5,7 +5,7 @@
<div class="searchformwrapper">
<form class="search" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="{{ _('Go') }}" />
<input type="submit" value="{{ _('🔍') }}" />
</form>
</div>
</search>

View File

@ -8,8 +8,8 @@ in the search field.
<search id="searchbox" style="display: none" role="search">
<div class="searchformwrapper">
<form class="search" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search"/>
<input type="submit" value="{{ _('Go') }}" />
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search"/>
<input type="submit" value="{{ _('🔍︎') }}" />
</form>
</div>
</search>

View File

@ -86,16 +86,17 @@ div.sphinxsidebar #searchbox form.search {
div.sphinxsidebar #searchbox input[type="text"] {
float: left;
width: 80%;
padding: 0.25em;
width: 84%;
height: 2em;
padding-left: 0.4em;
box-sizing: border-box;
}
div.sphinxsidebar #searchbox input[type="submit"] {
float: left;
width: 20%;
width: 16%;
height: 2em;
border-left: none;
padding: 0.25em;
box-sizing: border-box;
}