]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_paging_nav.html.erb
Adjust sizes of changeset element headers/pagination
[rails.git] / app / views / browse / _paging_nav.html.erb
index e13b1a9b85e84abe2e3efcf27e2ad9dfd93a4e26..1f4cbee85e8a8af148b08a720c272db7e34481c6 100644 (file)
@@ -1,14 +1,8 @@
-<div class="row">
-  <div class="col">
-    <h4><%= heading %></h4>
-  </div>
+<div class="d-flex flex-wrap gap-2">
+  <h4 class="fs-5 mb-0"><%= heading %></h4>
   <% if pages.page_count > 1 %>
-    <div class="col-auto">
-      <h4>
-        <span class="border border-lightgrey rounded p-1">
-          <%= raw pagination_links_each(pages, {}) { |n| link_to(n, page_param => n) } %>
-        </span>
-      </h4>
+    <div class="ms-auto">
+      <%= raw pagination_links_bootstrap(pages, {}) { |n| url_for(page_param => n) } %>
     </div>
   <% end %>
 </div>