Add dir="auto" to Searchbox (#434)

This commit is contained in:
alefvanoon 2021-09-06 10:43:19 +02:00 committed by GitHub
parent cf47c1b8ad
commit 13a4580ce2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 =