Skip to content

Commit

Permalink
Merge pull request #58 from drzzle-app/smallrBugFixes
Browse files Browse the repository at this point in the history
fix nav links z index stack when moving translate values
  • Loading branch information
runrog authored Apr 9, 2024
2 parents 2b5f5f8 + e8ea3b2 commit 47ac698
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/droplets/navigation/themes/default/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,10 @@
color: @white;
display: block;
padding: 11px 14px;
position: relative;
text-decoration: none;
width: 100%;
z-index: 1;

&:hover {
background-color: fade(@black, 12%);
Expand Down
4 changes: 2 additions & 2 deletions src/tools/slide-checkout/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@
return items;
},
getPreTaxTotal() {
const dollars = `${options.currency.symbol}${methods.preTaxTotal}`;
const dollars = `${options.currency.symbol}${Number(methods.preTaxTotal).toFixed(2)}`;
const display = `${dollars} ${options.currency.type}`;
$preTaxTotal.html(display);
},
Expand Down Expand Up @@ -705,7 +705,7 @@
</div>
${error}${optError}
<div class="drzSlideCheckout-cart-itemFooter">
<span class="drzSlideCheckout-cartItemTotal">Total: ${options.currency.symbol}${itemTotal}</span>
<span class="drzSlideCheckout-cartItemTotal">Total: ${options.currency.symbol}${Number(itemTotal).toFixed(2)}</span>
</div>
</div>
</div>
Expand Down

0 comments on commit 47ac698

Please sign in to comment.