From: Andy Allan Date: Thu, 4 Mar 2021 11:04:47 +0000 (+0000) Subject: Prevent input group wrapping when sidebar is resized X-Git-Tag: live~2247^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9bd1d7409196cd07c5f0f216b83e571141b52402?ds=sidebyside;hp=-c Prevent input group wrapping when sidebar is resized Fixes #3119 --- 9bd1d7409196cd07c5f0f216b83e571141b52402 diff --git a/app/views/layouts/_search.html.erb b/app/views/layouts/_search.html.erb index d09bfa704..e69ed6703 100644 --- a/app/views/layouts/_search.html.erb +++ b/app/views/layouts/_search.html.erb @@ -2,7 +2,7 @@
-
+
<%= 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, :class => "form-control form-control-sm" %>