]> git.openstreetmap.org Git - rails.git/commitdiff
Merge pull request #4499 from tomhughes/help-styling
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 31 Jan 2024 14:33:51 +0000 (14:33 +0000)
committerGitHub <noreply@github.com>
Wed, 31 Jan 2024 14:33:51 +0000 (14:33 +0000)
Improve styling of help page

app/views/site/help.html.erb

index ba25d87ebe80309e69d356b7ebb6e38c4fe13985..b180eb1a58cd980f5316317444acb1a9941e9b16 100644 (file)
   <% sites.each do |site| %>
     <div class="col">
       <div class='<%= site %> help-item card h-100'>
+        <h6 class='card-header'>
+          <a href='<%= t ".#{site}.url" %>' class='stretched-link'>
+            <%= t ".#{site}.title" %>
+          </a>
+        </h6>
         <div class='card-body'>
-          <h6 class='card-title'>
-            <a href='<%= t ".#{site}.url" %>'>
-              <%= t ".#{site}.title" %>
-            </a>
-          </h6>
           <p class='card-text'><%= t ".#{site}.description" %></p>
         </div>
-        <div class="card-footer">
-          <small>
-            <a href='<%= t ".#{site}.url" %>'>
-              <%= t ".#{site}.url" %>
-            </a>
-          </small>
-        </div>
       </div>
     </div>
   <% end %>