summaryrefslogtreecommitdiff
path: root/src-migrate/modules
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-17 16:49:26 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-17 16:49:26 +0700
commitec726a8d106992b4e4a9fd79863b64ea2112a218 (patch)
tree933c6dddafd38feae945ac552e1dcc31c9d764a8 /src-migrate/modules
parente32af31e19d38bf5f94dc229bae012c5c5aea720 (diff)
<iman> update voucher
Diffstat (limited to 'src-migrate/modules')
-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 {