1
0
mirror of https://github.com/zedeus/nitter synced 2024-11-25 19:19:17 +01:00

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

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 =