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.

FIX admin mobile sidebar menu not opening (Tailwind v4 conflict) (#13809)

Damian Legawiec93002085db3b
diff --git a/spree/admin/app/assets/tailwind/spree/admin/components/_layout.css b/spree/admin/app/assets/tailwind/spree/admin/components/_layout.css
index 2a4db83ea7..fbd13c6171 100644
--- a/spree/admin/app/assets/tailwind/spree/admin/components/_layout.css
+++ b/spree/admin/app/assets/tailwind/spree/admin/components/_layout.css
@@ -427,9 +427,8 @@
}
.sidebar-mobile .sidebar-panel {
- @apply absolute left-0 top-0 bottom-0 bg-gray-25 overflow-y-auto flex flex-col shadow-lg transition-transform duration-500;
+ @apply absolute left-0 top-0 bottom-0 bg-gray-25 overflow-y-auto flex flex-col shadow-lg transition-transform duration-500 -translate-x-full;
width: var(--spacing-sidebar-width);
- transform: translateX(-100%);
}
.sidebar-mobile .sidebar-mobile-header {