diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-07-17 09:50:33 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-07-17 09:50:33 +0000 |
| commit | 03413f1a0ca2b7d3d46fbb1813051663aac3d25c (patch) | |
| tree | 9220d1016571cd7fe1ba1d1cdf1d24fa506c2363 | |
| parent | 23a68e3cfcae9ca5c6789c7ec92af71b4944689c (diff) | |
| parent | ec726a8d106992b4e4a9fd79863b64ea2112a218 (diff) | |
Merged in Feature/all-promotion (pull request #171)
<iman> update voucher
| -rw-r--r-- | src-migrate/modules/promo/components/Voucher.tsx | 4 | ||||
| -rw-r--r-- | src-migrate/modules/promo/styles/voucher.module.css | 2 |
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 { |
