Merge pull request #2312 from basecamp/missing-cards-list

Add missing list to cards page
This commit is contained in:
Andy Smith
2026-01-07 12:35:38 -06:00
committed by GitHub
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -499,7 +499,7 @@
/* Override card styles within columns
/* ------------------------------------------------------------------------ */
.body--boards {
body:has(.cards) {
.card {
--block-space: 1em;
--block-space-half: 0.5em;
+6 -4
View File
@@ -19,9 +19,11 @@
<%= turbo_frame_tag :cards_container do %>
<section class="cards cards--grid">
<%= with_automatic_pagination :cards_paginated_container, @page do %>
<%= render "cards/display/previews", cards: @page.records, draggable: true %>
<% end %>
<div class="blank-slate blank-slate--empty blank-slate--filters">No cards match this filter</div>
<div class="cards__list hide-scrollbar">
<%= with_automatic_pagination :cards_paginated_container, @page do %>
<%= render "cards/display/previews", cards: @page.records, draggable: true %>
<% end %>
<div class="blank-slate blank-slate--empty blank-slate--filters">No cards match this filter</div>
</div>
</section>
<% end %>