Restore clicks on pinned cards

This commit is contained in:
Jason Zimdars
2025-04-22 12:00:49 -05:00
parent dcf135c003
commit 4f87472e5a
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -42,6 +42,10 @@
padding-block-end: 0;
}
.card__link {
z-index: 1;
}
.card__title {
font-size: var(--text-small);
font-weight: bold;
+1 -1
View File
@@ -10,7 +10,7 @@
<%= card.title %>
</h1>
<%= link_to collection_card_path(card.collection, card), class: "card__link" do %>
<%= link_to collection_card_path(card.collection, card), class: "card__link", data: { turbo_frame: "_top" } do %>
<span class="for-screen-reader"><%= card.title %></span>
<% end %>