<nav id="main-nav-bar" class="navbar">
  <ul class="nav" data-hook>
    <li id="home-link" class="nav-item" data-hook>
      <%= link_to Spree.t(:home), spree.root_path, class: 'nav-link' %>
    </li>
  </ul>
  <ul class="nav" data-hook>
    <li id="link-to-cart" class="nav-item" data-hook>
      <noscript>
        <%= link_to_cart %>
      </noscript>
      &nbsp;
    </li>
    <script>Spree.fetch_cart()</script>
  </ul>
</nav>

<nav id="main-nav-bar" class="navbar">
  <ul class="nav" data-hook>
    <li id="home-link" class="nav-item" data-hook>
      <%= link_to Spree.t(:home), spree.root_path, class: 'nav-link' %>
    </li>
  </ul>
  <ul class="nav navbar-right" data-hook>
    <li id="link-to-cart" class="nav-item" data-hook>
      <noscript>
        <%= link_to_cart %>
      </noscript>
      &nbsp;
    </li>
    <script>Spree.fetch_cart()</script>
  </ul>
</nav>

Bring back .navbar-right class for deface overrides from spree_i18n.
Bring back .navbar-right class for deface overrides from spree_i18n.
