Skip to content

Commit 47ac698

Browse files
authored
Merge pull request #58 from drzzle-app/smallrBugFixes
fix nav links z index stack when moving translate values
2 parents 2b5f5f8 + e8ea3b2 commit 47ac698

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/droplets/navigation/themes/default/styles.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,10 @@
124124
color: @white;
125125
display: block;
126126
padding: 11px 14px;
127+
position: relative;
127128
text-decoration: none;
128129
width: 100%;
130+
z-index: 1;
129131

130132
&:hover {
131133
background-color: fade(@black, 12%);

src/tools/slide-checkout/plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@
498498
return items;
499499
},
500500
getPreTaxTotal() {
501-
const dollars = `${options.currency.symbol}${methods.preTaxTotal}`;
501+
const dollars = `${options.currency.symbol}${Number(methods.preTaxTotal).toFixed(2)}`;
502502
const display = `${dollars} ${options.currency.type}`;
503503
$preTaxTotal.html(display);
504504
},
@@ -705,7 +705,7 @@
705705
</div>
706706
${error}${optError}
707707
<div class="drzSlideCheckout-cart-itemFooter">
708-
<span class="drzSlideCheckout-cartItemTotal">Total: ${options.currency.symbol}${itemTotal}</span>
708+
<span class="drzSlideCheckout-cartItemTotal">Total: ${options.currency.symbol}${Number(itemTotal).toFixed(2)}</span>
709709
</div>
710710
</div>
711711
</div>

0 commit comments

Comments
 (0)