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 background to mobile nav (#12479)

Chrisfa75016d62d9
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 5d6b83063d..3e871a425f 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="bg-background 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="bg-background flex-grow overflow-y-scroll">
+ <div class="flex-grow overflow-y-scroll">
<% if section.blocks.any? %>
<% section.blocks.each do |block| %>
<% presenter = Spree::MegaNavPresenter.new(block) %>