Hide button when empty

This commit is contained in:
Jason Zimdars
2025-03-20 18:04:39 -05:00
parent 9dba039096
commit 39ebeadc08
+1 -1
View File
@@ -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 %>