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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Lower complexity of mobile menu header.
Matthew Kennedyd28494d234e5
diff --git a/frontend/app/views/spree/shared/_mobile_navigation.html.erb b/frontend/app/views/spree/shared/_mobile_navigation.html.erbindex 31348e921d..cd365161eb 100644--- a/frontend/app/views/spree/shared/_mobile_navigation.html.erb+++ b/frontend/app/views/spree/shared/_mobile_navigation.html.erb@@ -1,26 +1,22 @@<% if spree_navigation_data.any? %><div class="position-fixed text-uppercase d-xl-none mobile-navigation" role="navigation" aria-label="<%= Spree.t('nav_bar.mobile') %>">- <div class="d-flex align-items-center header-spree" data-hook>- <div class="container-fluid header-spree-fluid">- <div class="d-flex align-items-center justify-content-between">- <button class="pl-0" id="mobile-navigation-back-button" aria-label="<%= Spree.t('nav_bar.go_to_previous_menu') %>">- <%= icon(name: 'arrow-right',- classes: 'd-inline spree-icon-arrow spree-icon-arrow-left',- width: 26,- height: 26) %>- </button>- <figure class="logo header-spree-fluid-logo" data-hook>- <%= logo %>- </figure>- <div id="top-nav-bar-mobile" class="header-spree-fluid-secondary-navigation" data-hook>- <button id="mobile-navigation-close-button" aria-label="<%= Spree.t('nav_bar.close_menu') %>">- <%= icon(name: 'close',- classes: 'd-inline',- width: 26,- height: 26) %>- </button>- </div>- </div>+ <div class="d-flex align-items-center justify-content-between header-spree" data-hook>+ <button class="ml-2" id="mobile-navigation-back-button" aria-label="<%= Spree.t('nav_bar.go_to_previous_menu') %>">+ <%= icon(name: 'arrow-right',+ classes: 'd-inline spree-icon-arrow spree-icon-arrow-left',+ width: 26,+ height: 26) %>+ </button>+ <figure class="logo header-spree-fluid-logo" data-hook>+ <%= logo %>+ </figure>+ <div id="top-nav-bar-mobile" class="mr-3 header-spree-fluid-secondary-navigation" data-hook>+ <button id="mobile-navigation-close-button" aria-label="<%= Spree.t('nav_bar.close_menu') %>">+ <%= icon(name: 'close',+ classes: 'd-inline',+ width: 26,+ height: 26) %>+ </button></div></div>