diff --git a/app/assets/stylesheets/pins.css b/app/assets/stylesheets/pins.css index e42f2d3e7..c191dea7b 100644 --- a/app/assets/stylesheets/pins.css +++ b/app/assets/stylesheets/pins.css @@ -42,6 +42,10 @@ padding-block-end: 0; } + .card__link { + z-index: 1; + } + .card__title { font-size: var(--text-small); font-weight: bold; diff --git a/app/views/cards/display/_preview.html.erb b/app/views/cards/display/_preview.html.erb index 43284b534..60c416ba6 100644 --- a/app/views/cards/display/_preview.html.erb +++ b/app/views/cards/display/_preview.html.erb @@ -10,7 +10,7 @@ <%= card.title %> - <%= 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 %> <%= card.title %> <% end %>