Make close and trash more distinct

This commit is contained in:
Jason Zimdars
2024-12-17 10:10:31 -06:00
parent 1eb40a318b
commit fdf93b2bc0
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -9,13 +9,13 @@
<span class="for-screen-reader">Save</span>
<% end %>
<%= link_to bucket_bubble_comment_path(@bubble.bucket, @bubble, @comment), class: "btn btn--small", data: { form_target: "cancel" } do %>
<%= image_tag "close.svg", aria: { hidden: true }, size: 16 %>
<%= image_tag "remove-med.svg", aria: { hidden: true }, size: 16 %>
<span class="for-screen-reader">Cancel</span>
<% end %>
<%= tag.button type: :submit, class: "btn btn--small btn--negative flex-item-justify-end", form: dom_id(@comment, :delete_form),
data: { turbo_confirm: "Are you sure you want to delete this comment?" } do %>
<%= image_tag "remove.svg", aria: { hidden: true }, size: 16 %>
<%= image_tag "trash.svg", aria: { hidden: true }, size: 16 %>
<span class="for-screen-reader">Delete</span>
<% end %>
</div>