]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_search.html.erb
Merge remote-tracking branch 'upstream/pull/3758'
[rails.git] / app / views / layouts / _search.html.erb
index 38a926760f76e592fbbe708570e9d4fe95d0802e..9ce1265b412828f45040be2f7d8ad9b6c988d3bf 100644 (file)
@@ -19,7 +19,7 @@
   </form>
 
   <form method="GET" action="<%= directions_path %>" class="directions_form pb-3">
-    <div class="clearfix px-3 py-3"><span class="icon close"></span></div>
+    <div class="d-flex flex-row-reverse px-3 py-3"><button type="button" class="btn-close"></button></div>
 
     <div class="row gx-2 m-1">
       <div class="col-1">
@@ -39,7 +39,7 @@
     </div>
     <div class="row gx-2 m-1">
       <div class="col offset-1">
-        <select class="routing_engines form-control form-control-sm" name="routing_engines"></select>
+        <select class="routing_engines form-select form-select-sm" name="routing_engines"></select>
       </div>
       <div class="col-auto">
         <%= submit_tag t("site.search.submit_text"), :class => "routing_go btn btn-sm btn-primary", :data => { :disable_with => false } %>
@@ -47,7 +47,7 @@
     </div>
     <div class="row gx-2 m-1">
       <div class="col offset-1">
-        <a class="reverse_directions"><%= t("site.search.reverse_directions_text") %></a>
+        <button class="btn btn-sm btn-link reverse_directions"><%= t("site.search.reverse_directions_text") %></button>
       </div>
     </div>