From 7f8e4265342ac669ade19cc23d1bde3df06a7c51 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Wed, 7 Jan 2026 12:32:46 -0600 Subject: [PATCH] Add missing list to cards page --- app/assets/stylesheets/card-columns.css | 2 +- app/views/cards/index.html.erb | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/card-columns.css b/app/assets/stylesheets/card-columns.css index 1bbed081e..b1fb99233 100644 --- a/app/assets/stylesheets/card-columns.css +++ b/app/assets/stylesheets/card-columns.css @@ -499,7 +499,7 @@ /* Override card styles within columns /* ------------------------------------------------------------------------ */ - .body--boards { + body:has(.cards) { .card { --block-space: 1em; --block-space-half: 0.5em; diff --git a/app/views/cards/index.html.erb b/app/views/cards/index.html.erb index c11876e16..a7e4769f5 100644 --- a/app/views/cards/index.html.erb +++ b/app/views/cards/index.html.erb @@ -19,9 +19,11 @@ <%= turbo_frame_tag :cards_container do %>
- <%= with_automatic_pagination :cards_paginated_container, @page do %> - <%= render "cards/display/previews", cards: @page.records, draggable: true %> - <% end %> -
No cards match this filter
+
+ <%= with_automatic_pagination :cards_paginated_container, @page do %> + <%= render "cards/display/previews", cards: @page.records, draggable: true %> + <% end %> +
No cards match this filter
+
<% end %>