Skip to content

Commit 1200da3

Browse files
committed
fix: Remove unnecessary non breaking spaces
We do not use HTML 4 anymore. This just causes spaces in these tables. We use CSS for that.
1 parent 9ad800d commit 1200da3

4 files changed

Lines changed: 0 additions & 5 deletions

File tree

backend/app/views/spree/admin/prices/_master_variant_table.html.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<%= link_to_edit(price, no_text: true) unless price.discarded? %>
3030
<% end %>
3131
<% if can?(:destroy, price) %>
32-
&nbsp;
3332
<%= link_to_delete(price, no_text: true) unless price.discarded? %>
3433
<% end %>
3534
</td>

backend/app/views/spree/admin/prices/_table.html.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
<%= link_to_edit(price, no_text: true) unless price.discarded? %>
2525
<% end %>
2626
<% if can?(:destroy, price) %>
27-
&nbsp;
2827
<%= link_to_delete(price, no_text: true) unless price.discarded? %>
2928
<% end %>
3029
</td>

backend/app/views/spree/admin/products/index.html.erb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@
8787
<td class="align-right"><%= product.display_price&.to_html %></td>
8888
<td class="actions" data-hook="admin_products_index_row_actions">
8989
<%= link_to_edit product, no_text: true, class: 'edit' if can?(:edit, product) && !product.deleted? %>
90-
&nbsp;
9190
<%= link_to_clone product, no_text: true, class: 'clone' if can?(:clone, product) %>
92-
&nbsp;
9391
<%= link_to_delete product, no_text: true if can?(:destroy, product) && !product.deleted? %>
9492
</td>
9593
</tr>

backend/app/views/spree/admin/variants/_table.html.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
<%= link_to_edit(variant, no_text: true) unless variant.deleted? %>
3434
<% end %>
3535
<% if can?(:destroy, variant) %>
36-
&nbsp;
3736
<%= link_to_delete(variant, no_text: true) unless variant.deleted? %>
3837
<% end %>
3938
</td>

0 commit comments

Comments
 (0)