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.

Tidy html

Matthew Kennedya50ddf621c66
diff --git a/frontend/app/views/spree/shared/_checkout_header.html.erb b/frontend/app/views/spree/shared/_checkout_header.html.erb
index 3c254c68f4..e617ba0956 100644
--- a/frontend/app/views/spree/shared/_checkout_header.html.erb
+++ b/frontend/app/views/spree/shared/_checkout_header.html.erb
@@ -1,8 +1,8 @@
<div id="spree-header">
<header id="header" class="d-flex align-items-center header-spree border-bottom">
<div class="container" role="navigation" aria-label="<%= Spree.t('checkout_page.main_navigation') %>">
-
<div class="row">
+
<div class="col d-flex align-items-center truncate pr-0">
<%= link_to spree.cart_path, class: "text-uppercase truncate checkout-header-link-text", method: :get do %>
<%= icon(name: 'arrow-right',
@@ -18,7 +18,10 @@
<%= logo(nil, {method: :get}) %>
</figure>
</div>
- <div class="col-0 col-md"><!-- spacer --></div>
+
+ <div class="col-0 col-md">
+ <!-- spacer -->
+ </div>
</div>
</div>