]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_search.html.erb
Prevent input group wrapping when sidebar is resized
[rails.git] / app / views / layouts / _search.html.erb
index d09bfa704f1ef9f09e9d020a78eae5ba4ab84090..e69ed670365084da36afab972699f25efde6cf11 100644 (file)
@@ -2,7 +2,7 @@
   <form method="GET" action="<%= search_path %>" class="search_form px-1 py-2">
     <div class="form-row mx-0">
       <div class="col">
-        <div class="input-group">
+        <div class="input-group flex-nowrap">
           <div class='query_wrapper position-relative flex-grow-1'>
             <%= 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" %>