]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/welcome.html.erb
Fixed "Tab alignment" for "Sign up" button issue described in #4773 and #4826
[rails.git] / app / views / site / welcome.html.erb
index a108495852a27c8fbd97e1a4a20707167b598787..22783ce2d19de49fbbe44a8d2ca6f4a143b3045a 100644 (file)
 
 <div class='row'>
   <div class='col-sm'>
-    <div>
-      <span class='sprite check mx-auto'></span>
-    </div>
+    <span class='d-block mx-auto sprite check'></span>
     <p><%= t ".whats_on_the_map.on_the_map_html", :real_and_current => tag.em(t(".whats_on_the_map.real_and_current")) %></p>
   </div>
   <div class='col-sm'>
-    <div>
-      <span class='sprite x mx-auto'></span>
-    </div>
+    <span class='d-block mx-auto sprite x'></span>
     <p><%= t ".whats_on_the_map.off_the_map_html", :doesnt => tag.em(t(".whats_on_the_map.doesnt")) %></p>
   </div>
 </div>
                                  :automated_edits_link => link_to(t(".rules.automated_edits"), t(".rules.automated_edits_url")) %></p>
 </div>
 
-<div class='clearfix'>
-  <%= render "any_questions" %>
-</div>
+<%= render "any_questions" %>
 
-<div class='clearfix text-center'>
-  <p class="display-5">
+<div class='text-center mb-3'>
 <% if params[:oauth_return_url] %>
   <a class="btn btn-primary" href="<%= params[:oauth_return_url] %>"><%= t ".continue_authorization" %></a>
 <% else %>
-  <a class="button btn btn-primary start-mapping" href="<%= edit_path %>"><%= t ".start_mapping" %></a>
+  <a class="btn btn-primary start-mapping" href="<%= edit_path %>"><%= t ".start_mapping" %></a>
 <% end %>
-  </p>
 </div>
 
 <div class='alert alert-primary'>