From 8f86b25a54a6de4fa1f5370e1bc7374f6158dcdd Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Tue, 12 Aug 2025 15:20:21 -0500 Subject: [PATCH] Ensure card__link is visible on cards with backgrounds --- app/views/cards/display/_preview.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/cards/display/_preview.html.erb b/app/views/cards/display/_preview.html.erb index 9da8be290..414096318 100644 --- a/app/views/cards/display/_preview.html.erb +++ b/app/views/cards/display/_preview.html.erb @@ -21,10 +21,6 @@

<%= card.title %>

- - <%= link_to collection_card_path(card.collection, card), draggable: false, class: "card__link", title: card_title_tag(card), data: { action: "dialog#close", turbo_frame: "_top" } do %> - <%= card.title %> - <% end %> <%= render "cards/display/preview/stages", card: card if card.doing? %> @@ -36,6 +32,10 @@ <%= render "cards/display/common/background", card: card %> + <%= link_to collection_card_path(card.collection, card), draggable: false, class: "card__link", title: card_title_tag(card), data: { action: "dialog#close", turbo_frame: "_top" } do %> + <%= card.title %> + <% end %> + <% if card.entropic? %> <%= render "cards/display/preview/bubble", card: card %> <% end %>