From 13a4580ce2ef0768e513013403c8a7d78b3e8949 Mon Sep 17 00:00:00 2001 From: alefvanoon <53198048+alefvanoon@users.noreply.github.com> Date: Mon, 6 Sep 2021 10:43:19 +0200 Subject: [PATCH] Add dir="auto" to Searchbox (#434) --- src/views/search.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/search.nim b/src/views/search.nim index 527dbe9..963107f 100644 --- a/src/views/search.nim +++ b/src/views/search.nim @@ -24,7 +24,7 @@ proc renderSearch*(): VNode = tdiv(class="search-bar"): form(`method`="get", action="/search"): hiddenField("f", "users") - input(`type`="text", name="q", autofocus="", placeholder="Enter username...") + input(`type`="text", name="q", autofocus="", placeholder="Enter username...", dir="auto") button(`type`="submit"): icon "search" proc renderProfileTabs*(query: Query; username: string): VNode =