diff --git a/app/assets/stylesheets/card-perma.css b/app/assets/stylesheets/card-perma.css index 97ba51d1d..d12e3eddc 100644 --- a/app/assets/stylesheets/card-perma.css +++ b/app/assets/stylesheets/card-perma.css @@ -22,6 +22,10 @@ margin-inline: auto; position: relative; + &:has(dialog[open]) { + z-index: 2; + } + &:has(.card-perma__star-input:checked) { .card { outline: 4px solid var(--color-negative); diff --git a/app/views/cards/show.html.erb b/app/views/cards/show.html.erb index 36371cbb1..b751d95ae 100644 --- a/app/views/cards/show.html.erb +++ b/app/views/cards/show.html.erb @@ -11,7 +11,6 @@ <% content_for :header do %> <%= render "filters/menu" %> - <%= link_to collection_url(@card.collection), class: "header__title btn borderless txt-large", style: "--btn-padding: 0.25ch 1ch 0.25ch 0.75ch; view-transistion-name: card-collection-title;", data: { controller: "hotkey", action: "keydown.esc@document->hotkey#click click->turbo-navigation#backIfSamePath" } do %>