Fix Cart checkout Button hover
It was disabled 🤦
This commit is contained in:
@@ -54,6 +54,8 @@
|
|||||||
const handleArrowClick = () => {
|
const handleArrowClick = () => {
|
||||||
if (!carousel.clickAllowed()) return
|
if (!carousel.clickAllowed()) return
|
||||||
|
|
||||||
|
// TODO: Clicking should also define arrowDirection? Can click without moving and won't change direction
|
||||||
|
|
||||||
// Click only if carousel if being dragged
|
// Click only if carousel if being dragged
|
||||||
if (arrowDirection === 'prev') {
|
if (arrowDirection === 'prev') {
|
||||||
carousel.scrollPrev()
|
carousel.scrollPrev()
|
||||||
|
|||||||
@@ -160,7 +160,6 @@
|
|||||||
text="Checkout"
|
text="Checkout"
|
||||||
color="pink"
|
color="pink"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={!$cartData}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -108,7 +108,6 @@
|
|||||||
}
|
}
|
||||||
.text-split__line {
|
.text-split__line {
|
||||||
&:last-child {
|
&:last-child {
|
||||||
color: $color-text;
|
|
||||||
color: $color-primary-dark;
|
color: $color-primary-dark;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user