]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_paging_nav.html.erb
Remove border css class used by previous version of paginator
[rails.git] / app / views / browse / _paging_nav.html.erb
index 713a1d6d4ecf5734c999f2df4786ef19a471b169..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="paginate 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>