From 03f266fa4836c81a94e12a3462917f638902aa6a Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 14 Sep 2022 23:15:28 +0300 Subject: [PATCH] Stick search input and Go button together with flex instead of input group --- app/views/layouts/_search.html.erb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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 } %>
-- 2.39.5