Avoid Load More buttons spanning the column width

This commit is contained in:
Jason Zimdars
2025-09-30 16:41:35 -05:00
parent 3a81c05eae
commit d71960a733
+1 -1
View File
@@ -5,7 +5,7 @@ module PaginationHelper
def link_to_next_page(namespace, page, activate_when_observed: false, label: "Load more...", data: {}, **attributes)
if page.before_last? && !params[:previous]
pagination_link(namespace, page.number + 1, label: label, activate_when_observed: activate_when_observed, data: data, class: "margin-block btn txt-small", **attributes)
pagination_link(namespace, page.number + 1, label: label, activate_when_observed: activate_when_observed, data: data, class: "margin-block btn txt-small center", **attributes)
end
end