Hide button when empty
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<%= turbo_frame_tag "pins", src: bubbles_pins_tray_path %>
|
||||
|
||||
<div class="tray__actions flex align-center gap-half">
|
||||
<%= tag.button type: "button", class: "pin-tray__all_action btn flex-item-justify-start shadow", data: { action: "click->dialog#close"} do %>
|
||||
<%= tag.button type: "button", class: "tray__all_action btn flex-item-justify-start shadow", data: { action: "click->dialog#close"} do %>
|
||||
<%= image_tag "remove-med.svg", aria: { hidden: true }, size: 24 %>
|
||||
<span class="for-screen-reader">Close</span>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user