]> git.openstreetmap.org Git - rails.git/commitdiff
Remove extra container div from fixthemap page
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 27 Jul 2022 13:26:54 +0000 (14:26 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 27 Jul 2022 15:32:16 +0000 (16:32 +0100)
This created extra margins and padding either side of the blocks
of text, which was unnecessary

app/views/site/fixthemap.html.erb

index 28e0fe237b547d9fe3c2071513466ab9acddbe0a..70118b9806afaad9c15fdf7412efb48263f46ffe 100644 (file)
 
 <h2><%= t ".how_to_help.title" %></h2>
 
-<div class='container'>
-  <div class='row'>
-    <div class='col-sm'>
-      <h5><%= t ".how_to_help.join_the_community.title" %></h5>
-      <p><%= t ".how_to_help.join_the_community.explanation_html" %></p>
-      <p class='text-center'>
-        <a class="btn btn-primary" href="<%= user_new_path %>"><%= t("layouts.start_mapping") %></a>
-      </p>
-    </div>
-    <div class='col-sm'>
-      <h5><%= t "site.welcome.add_a_note.title" %></h5>
-      <p><%= t "site.welcome.add_a_note.paragraph_1_html" %></p>
-      <p><%= t ".how_to_help.add_a_note.instructions_html", :map_url => root_path %></p>
-    </div>
+<div class='row'>
+  <div class='col-sm'>
+    <h5><%= t ".how_to_help.join_the_community.title" %></h5>
+    <p><%= t ".how_to_help.join_the_community.explanation_html" %></p>
+    <p class='text-center'>
+      <a class="btn btn-primary" href="<%= user_new_path %>"><%= t("layouts.start_mapping") %></a>
+    </p>
+  </div>
+  <div class='col-sm'>
+    <h5><%= t "site.welcome.add_a_note.title" %></h5>
+    <p><%= t "site.welcome.add_a_note.paragraph_1_html" %></p>
+    <p><%= t ".how_to_help.add_a_note.instructions_html", :map_url => root_path %></p>
   </div>
 </div>