]> git.openstreetmap.org Git - rails.git/commitdiff
Prevent input group wrapping when sidebar is resized
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 4 Mar 2021 11:04:47 +0000 (11:04 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 4 Mar 2021 11:04:47 +0000 (11:04 +0000)
Fixes #3119

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" %>