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 missing mobile nav background color (#12469)

Chris17fa80d75a81
diff --git a/storefront/app/views/themes/default/spree/page_sections/nav/_mobile.html.erb b/storefront/app/views/themes/default/spree/page_sections/nav/_mobile.html.erb
index 2df95f2178..5d6b83063d 100644
--- a/storefront/app/views/themes/default/spree/page_sections/nav/_mobile.html.erb
+++ b/storefront/app/views/themes/default/spree/page_sections/nav/_mobile.html.erb
@@ -1,7 +1,7 @@
<div class="mt-4 border-default border-t overflow-x-hidden h-full w-screen overflow-y-hidden">
<div class="h-full flex transform has-[.currency-and-locale-modal:not(.hidden)]:transform-none relative transition-transform duration-300" data-controller="mobile-nav">
<div class="w-screen shrink-0 flex flex-col h-full flex-grow-0">
- <div class="flex-grow overflow-y-scroll">
+ <div class="bg-background flex-grow overflow-y-scroll">
<% if section.blocks.any? %>
<% section.blocks.each do |block| %>
<% presenter = Spree::MegaNavPresenter.new(block) %>