Reinstate gap to cards list
This commit is contained in:
@@ -39,7 +39,7 @@ module PaginationHelper
|
||||
def pagination_list(name, tag_element: :div, paginate_on_scroll: false, **properties, &block)
|
||||
classes = properties.delete(:class)
|
||||
tag.public_send tag_element,
|
||||
class: token_list(name, "unpad", classes),
|
||||
class: token_list(name, classes),
|
||||
role: "list",
|
||||
data: { controller: "pagination", pagination_paginate_on_intersection_value: paginate_on_scroll },
|
||||
&block
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<%= render "columns/show/add_card_button", collection: collection %>
|
||||
|
||||
<% if page.used? %>
|
||||
<%= with_manual_pagination "the-stream", @page do %>
|
||||
<%= with_manual_pagination "the-stream", @page, class: "display-contents" do %>
|
||||
<%= render "collections/columns/list", cards: page.records, draggable: true %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user