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.

Add overflow hidden to account menu.

Matthew Kennedy6c5145b51fc9
diff --git a/backend/app/views/spree/admin/shared/_account_nav.html.erb b/backend/app/views/spree/admin/shared/_account_nav.html.erb
index 1f69926f55..a0ed4478e1 100644
--- a/backend/app/views/spree/admin/shared/_account_nav.html.erb
+++ b/backend/app/views/spree/admin/shared/_account_nav.html.erb
@@ -5,7 +5,7 @@
<%= svg_icon name: "user.svg", width: '24', height: '24' %>
</button>
- <div class="dropdown-menu dropdown-menu-right mt-2 p-0 mr-2">
+ <div class="dropdown-menu dropdown-menu-right overflow-hidden mt-2 p-0 mr-2">
<div class="dropdown-item px-0 text-center bg-light">
<span class="d-block text-dark py-2 px-4"><%= try_spree_current_user.email %></span>
</div>