Remove aside and toolbar role from perma actions
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
class="card-perma" style="--card-color: <%= card.color %>;">
|
||||
<%= render "cards/container/status", card: card %>
|
||||
|
||||
<aside class="card-perma__actions card-perma__actions--left" role="toolbar">
|
||||
<div class="card-perma__actions card-perma__actions--left">
|
||||
<%= render "cards/container/gild", card: card if @card.published? && !@card.closed? %>
|
||||
<%= render "cards/container/image", card: card %>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<div class="card-perma__bg">
|
||||
<%= card_article_tag card, class: "card" do %>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%# FIXME: Let's move this aside outside of the card container section so these frames don't reload/flicker when card is replaced %>
|
||||
<aside class="card-perma__actions card-perma__actions--right" role="toolbar">
|
||||
<div class="card-perma__actions card-perma__actions--right">
|
||||
<%= turbo_frame_tag card, :watch, src: card_watch_path(card), target: "_top", refresh: :morph %>
|
||||
<%= turbo_frame_tag card, :pin, src: card_pin_path(card), refresh: :morph %>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<%= render "cards/container/closure", card: card %>
|
||||
|
||||
Reference in New Issue
Block a user