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.

update mobile view.

Matthew Kennedy9813702655ef
diff --git a/backend/app/views/spree/admin/menus/nested_menu_items/_item_bar.html.erb b/backend/app/views/spree/admin/menus/nested_menu_items/_item_bar.html.erb
index 8482225d65..5db3b80301 100644
--- a/backend/app/views/spree/admin/menus/nested_menu_items/_item_bar.html.erb
+++ b/backend/app/views/spree/admin/menus/nested_menu_items/_item_bar.html.erb
@@ -3,11 +3,11 @@
<%= svg_icon(name: 'sort.svg', width: '20', height: '20') %>
</div>
- <div class="d-flex align-items-center w-100 truncate">
- <div>
+ <div class="d-flex align-items-center overflow-hidden w-100">
+ <div class="overflow-hidden">
<%= item.name %>
<% if item.destination %>
- <small class="text-muted mt-0">-></small> <span class="badge badge-light badge-light-muted-text"><%= item.destination %></span>
+ <span class="badge badge-light badge-light-muted-text">-> <%= item.destination %></span>
<% end %>
<small class="form-text text-muted mt-0">
<%= "#{Spree.t('admin.navigation.type')}: #{item.item_type}" %>