Make all pagination start on a new line

This commit is contained in:
Andy Smith
2025-08-18 15:27:25 -05:00
parent 40933ea491
commit d1142cb651
7 changed files with 22 additions and 8 deletions
@@ -5,7 +5,9 @@
<%= render partial: "cards/display/preview", collection: page.records, as: :card, cached: true %>
<% unless page.last? %>
<%= cards_next_page_link "closed-cards", page: page, filter: filter, fetch_on_visible: true %>
<div class="full-width">
<%= cards_next_page_link "closed-cards", page: page, filter: filter, fetch_on_visible: true %>
</div>
<% end %>
<% else %>
<p class="txt-medium translucent">Nothing here</p>
@@ -7,7 +7,9 @@
<%= render partial: "cards/display/preview", collection: page.records, as: :card, locals: { draggable: true }, cached: true %>
<% unless page.last? %>
<%= cards_next_page_link "considering-cards", page: page, filter: filter %>
<div class="full-width">
<%= cards_next_page_link "considering-cards", page: page, filter: filter %>
</div>
<% end %>
<% else %>
<p class="txt-medium translucent">Nothing here</p>
@@ -11,7 +11,9 @@
<%= render partial: "cards/display/preview", collection: page.records, as: :card, locals: { draggable: true }, cached: ->(card) { cacheable_preview_parts_for(card) } %>
<% unless page.last? %>
<%= cards_next_page_link "doing-cards", page: page, filter: filter %>
<div class="full-width">
<%= cards_next_page_link "doing-cards", page: page, filter: filter %>
</div>
<% end %>
<% else %>
<p class="txt-medium translucent">Nothing here</p>
@@ -7,9 +7,11 @@
<%= render partial: "cards/display/preview", collection: page.records, as: :card, locals: { draggable: true }, cached: true %>
<% unless page.last? %>
<%= cards_next_page_link "on-deck-cards", page: page, filter: filter %>
<div class="full-width">
<%= cards_next_page_link "on-deck-cards", page: page, filter: filter %>
</div>
<% end %>
<% else %>
<p class="txt-medium translucent">Nothing here</p>
<% end %>
</section>
</section>
@@ -3,7 +3,9 @@
<%= render partial: "cards/display/public_preview", collection: page.records, as: :card, cached: true %>
<% unless page.last? %>
<%= public_collection_cards_next_page_link collection, "closed-cards", fetch_on_visible: true, page: page %>
<div class="full-width">
<%= public_collection_cards_next_page_link collection, "closed-cards", fetch_on_visible: true, page: page %>
</div>
<% end %>
<% else %>
<p class="txt-medium translucent">Nothing here</p>
@@ -7,7 +7,9 @@
<%= render partial: "cards/display/public_preview", collection: page.records, as: :card, cached: true %>
<% unless page.last? %>
<%= public_collection_cards_next_page_link collection, "considering-cards", page: page %>
<div class="full-width">
<%= public_collection_cards_next_page_link collection, "considering-cards", page: page %>
</div>
<% end %>
<% else %>
<p class="txt-medium translucent">Nothing here</p>
@@ -7,7 +7,9 @@
<%= render partial: "cards/display/public_preview", collection: page.records, as: :card, cached: ->(card) { cacheable_preview_parts_for(card) } %>
<% unless page.last? %>
<%= public_collection_cards_next_page_link collection, "doing-cards", page: page %>
<div class="full-width">
<%= public_collection_cards_next_page_link collection, "doing-cards", page: page %>
</div>
<% end %>
<% else %>
<p class="txt-medium translucent">Nothing here</p>