]> git.openstreetmap.org Git - rails.git/commitdiff
Use 'close-box' appearance (less confusing) for exit-from-directions
authorDan Stowell <danstowell@users.sourceforge.net>
Sat, 24 Jan 2015 13:27:17 +0000 (13:27 +0000)
committerDan Stowell <danstowell@users.sourceforge.net>
Sat, 24 Jan 2015 13:27:17 +0000 (13:27 +0000)
app/views/layouts/_search.html.erb

index c9ae72477e4ce1f50733ff01f7de09018468007c..fb4f79eb66e8a039fdd75fb5857f3f47b08f9ed6 100644 (file)
@@ -9,7 +9,7 @@
   </form>
 
   <form method="GET" action="<%= directions_path %>" class="directions_form">
-    <div width="100%" align="right"><%= link_to image_tag('search.png', :class => 'button'), root_path, { :class => "button", :title => t('site.search.close_directions_title') } %></div>
+    <div width="100%" align="right" style="height:30px"><%= link_to tag('span', { :class => "icon close"}), root_path, { :title => t('site.search.close_directions_title') } %></div>
 
     <div class="line">
       <%= image_tag "marker-green.png", :class => 'routing_marker', :id => 'marker_from', :draggable => 'true' %>