From 5229105e5da7a2db842adf3a965e13c34e886d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Sun, 7 Nov 2021 22:41:34 +0100 Subject: [PATCH] Fix Cart checkout Button hover MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was disabled 🤦 --- src/components/organisms/Carousel.svelte | 2 ++ src/components/organisms/Cart.svelte | 1 - src/style/atoms/_button.scss | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/organisms/Carousel.svelte b/src/components/organisms/Carousel.svelte index 5a1e9e4..4ebc8fb 100644 --- a/src/components/organisms/Carousel.svelte +++ b/src/components/organisms/Carousel.svelte @@ -54,6 +54,8 @@ const handleArrowClick = () => { 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 if (arrowDirection === 'prev') { carousel.scrollPrev() diff --git a/src/components/organisms/Cart.svelte b/src/components/organisms/Cart.svelte index 9fa4b06..d922b03 100644 --- a/src/components/organisms/Cart.svelte +++ b/src/components/organisms/Cart.svelte @@ -160,7 +160,6 @@ text="Checkout" color="pink" size="small" - disabled={!$cartData} /> {/if} diff --git a/src/style/atoms/_button.scss b/src/style/atoms/_button.scss index 4410b57..fe1f1be 100644 --- a/src/style/atoms/_button.scss +++ b/src/style/atoms/_button.scss @@ -108,7 +108,6 @@ } .text-split__line { &:last-child { - color: $color-text; color: $color-primary-dark; } }