From be3714f074c0807983148c6ffa51f1287e5f465d Mon Sep 17 00:00:00 2001 From: alefvanoon <53198048+alefvanoon@users.noreply.github.com> Date: Tue, 31 Aug 2021 00:10:07 +0200 Subject: [PATCH] Fix rtl lang problem in search box (#399) Adds auto dir to index, search and header input html --- app/templates/header.html | 6 ++++-- app/templates/index.html | 3 ++- app/templates/search.html | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/templates/header.html b/app/templates/header.html index a3d596a..a59f619 100644 --- a/app/templates/header.html +++ b/app/templates/header.html @@ -19,7 +19,8 @@ class="noHIxc" name="q" type="text" - value="{{ clean_query(query) }}"> + value="{{ clean_query(query) }}" + dir="auto"> @@ -51,7 +52,8 @@ name="q" spellcheck="false" type="text" - value="{{ clean_query(query) }}"> + value="{{ clean_query(query) }}" + dir="auto">
diff --git a/app/templates/index.html b/app/templates/index.html index 64e1650..f528723 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -62,7 +62,8 @@ autocapitalize="none" spellcheck="false" autocorrect="off" - autocomplete="off"> + autocomplete="off" + dir="auto"> diff --git a/app/templates/search.html b/app/templates/search.html index 67674a1..4695291 100644 --- a/app/templates/search.html +++ b/app/templates/search.html @@ -8,6 +8,7 @@ spellcheck="false" autocorrect="off" placeholder="Whoogle Search" - autocomplete="off"> + autocomplete="off" + dir="auto">