summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-07-17 09:50:33 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-07-17 09:50:33 +0000
commit03413f1a0ca2b7d3d46fbb1813051663aac3d25c (patch)
tree9220d1016571cd7fe1ba1d1cdf1d24fa506c2363
parent23a68e3cfcae9ca5c6789c7ec92af71b4944689c (diff)
parentec726a8d106992b4e4a9fd79863b64ea2112a218 (diff)
Merged in Feature/all-promotion (pull request #171)
<iman> update voucher
-rw-r--r--src-migrate/modules/promo/components/Voucher.tsx4
-rw-r--r--src-migrate/modules/promo/styles/voucher.module.css2
2 files changed, 3 insertions, 3 deletions
diff --git a/src-migrate/modules/promo/components/Voucher.tsx b/src-migrate/modules/promo/components/Voucher.tsx
index 729d957e..e5877e51 100644
--- a/src-migrate/modules/promo/components/Voucher.tsx
+++ b/src-migrate/modules/promo/components/Voucher.tsx
@@ -52,8 +52,8 @@ const VoucherComponent = () => {
},
loop: false,
className: 'h-[160px] w-full',
- slidesPerView: isMobile ? 1.2 : 3,
- spaceBetween: 16,
+ slidesPerView: isMobile ? 1.2 : 3.2,
+ spaceBetween: 2,
};
const dataVouchers = useMemo(() => voucherQuery.data || [], [voucherQuery.data]);
diff --git a/src-migrate/modules/promo/styles/voucher.module.css b/src-migrate/modules/promo/styles/voucher.module.css
index bcb8169f..22d07f91 100644
--- a/src-migrate/modules/promo/styles/voucher.module.css
+++ b/src-migrate/modules/promo/styles/voucher.module.css
@@ -7,7 +7,7 @@
}
.voucher-card {
- @apply w-11/12 h-3/4 rounded-xl border items-center border-gray-200 shadow-md p-4 flex gap-x-4 ;
+ @apply w-full md:w-11/12 h-3/4 rounded-xl border items-center border-gray-200 shadow-md p-4 flex gap-x-4 ;
}
.voucher-image {