From: Anton Khorev Date: Wed, 14 Sep 2022 20:15:28 +0000 (+0300) Subject: Stick search input and Go button together with flex instead of input group X-Git-Tag: live~987^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/03f266fa4836c81a94e12a3462917f638902aa6a?hp=5eb09448c5eaf627e24dbba985c732c290dcf374 Stick search input and Go button together with flex instead of input group --- diff --git a/app/views/layouts/_search.html.erb b/app/views/layouts/_search.html.erb index 9ce1265b4..a301ad2ce 100644 --- a/app/views/layouts/_search.html.erb +++ b/app/views/layouts/_search.html.erb @@ -2,14 +2,12 @@
-
-
+
+ <%= link_to t("site.search.where_am_i"), "#", :class => "describe_location position-absolute", :title => t("site.search.where_am_i_title") %> - <%= text_field_tag "query", params[:query], :placeholder => t("site.search.search"), :autofocus => autofocus, :autocomplete => "on", :class => "form-control form-control-sm", :dir => "auto" %> -
-
- <%= submit_tag t("site.search.submit_text"), :class => "btn btn-sm btn-primary", :data => { :disable_with => false } %> -
+ <%= text_field_tag "query", params[:query], :placeholder => t("site.search.search"), :autofocus => autofocus, :autocomplete => "on", :class => "form-control form-control-sm rounded-0 rounded-start border-end-0", :dir => "auto" %> + + <%= submit_tag t("site.search.submit_text"), :class => "btn btn-sm btn-primary rounded-0 rounded-end", :data => { :disable_with => false } %>