Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Don't need to give a class to the SVG anymore.

Matthew Kennedy31b6b9940371
diff --git a/frontend/app/views/spree/users/_address_controls.html.erb b/frontend/app/views/spree/users/_address_controls.html.erb
index 5656d2a5ba..515bf8741d 100644
--- a/frontend/app/views/spree/users/_address_controls.html.erb
+++ b/frontend/app/views/spree/users/_address_controls.html.erb
@@ -1,8 +1,8 @@
-<span class="mr-2">
+<span class="mx-2">
<%= link_to spree.edit_address_path(address), method: :get, class: 'address-button', data: { hook: 'edit_address' } do %>
- <%= inline_svg_tag 'edit.svg', width: 27.6, height: 24 %>
+ <%= inline_svg_tag('edit.svg', width: 27.6, height: 24) %>
<% end %>
</span>
<span class="bg-transparent border-0 p-0 m-0 address-button delete-button js-delete-address-link" data-address="<%= spree.address_path(address) %>">
- <%= inline_svg_tag 'garbage_2.svg', class: "js-delete-address-img", width: 27.6, height: 24 %>
+ <%= inline_svg_tag('garbage_2.svg', width: 27.6, height: 24) %>
</span>