Fix rtl lang problem in search box (#399)

Adds auto dir to index, search and header input html
main
alefvanoon 2021-08-31 00:10:07 +02:00 committed by GitHub
parent 388f51cfb7
commit be3714f074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -19,7 +19,8 @@
class="noHIxc"
name="q"
type="text"
value="{{ clean_query(query) }}">
value="{{ clean_query(query) }}"
dir="auto">
<input id="search-reset" type="reset" value="x">
<input name="tbm" value="{{ search_type }}" style="display: none">
<input type="submit" style="display: none;">
@ -51,7 +52,8 @@
name="q"
spellcheck="false"
type="text"
value="{{ clean_query(query) }}">
value="{{ clean_query(query) }}"
dir="auto">
<input name="tbm" value="{{ search_type }}" style="display: none">
<input type="submit" style="display: none;">
<div class="sc"></div>

View File

@ -62,7 +62,8 @@
autocapitalize="none"
spellcheck="false"
autocorrect="off"
autocomplete="off">
autocomplete="off"
dir="auto">
</div>
<input type="submit" id="search-submit" value="{{ translation['search'] }}">
</div>

View File

@ -8,6 +8,7 @@
spellcheck="false"
autocorrect="off"
placeholder="Whoogle Search"
autocomplete="off">
autocomplete="off"
dir="auto">
<input type="submit" style="width: 9%" id="search-submit" value="Search">
</form>