-<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 %>