-<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">
+ <div class="ms-auto">
<%= raw pagination_links_bootstrap(pages, {}) { |n| url_for(page_param => n) } %>
</div>
<% end %>
html = ""
- html << "<ul class='pagination pagination-sm'>"
+ html << "<ul class='pagination pagination-sm mb-1'>"
if always_show_anchors && !(wp_first = window_pages[0]).first?
html << bootstrap_page_item_link(first.number.to_s, yield(first.number))