diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-08-12 09:00:01 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-08-12 09:00:01 +0000 |
| commit | f62358c34e8449088093267ccf694b18b4d09cd6 (patch) | |
| tree | 3de77144beefa54e6d75354a1a57600213864d42 /src/lib/variant | |
| parent | c33f96ba48e112d3beb3c4b63522a9c1e1840051 (diff) | |
| parent | cb1bf0046249492094e59107ee5c904a36338eeb (diff) | |
Merged in cr/repeat-order (pull request #436)
Cr/repeat order
Diffstat (limited to 'src/lib/variant')
| -rw-r--r-- | src/lib/variant/components/VariantGroupCard.jsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/variant/components/VariantGroupCard.jsx b/src/lib/variant/components/VariantGroupCard.jsx index 1e921546..7db9703b 100644 --- a/src/lib/variant/components/VariantGroupCard.jsx +++ b/src/lib/variant/components/VariantGroupCard.jsx @@ -10,7 +10,10 @@ const VariantGroupCard = ({ variants, ...props }) => { return ( <> {variantsToShow?.map((variant, index) => ( - <> + <div + key={index} + className='shadow border border-gray rounded-md p-4 mb-1 shadow-sm bg-white' + > <VariantCard key={index} product={variant} {...props} /> {variant.program && variant.program.items && @@ -48,7 +51,7 @@ const VariantGroupCard = ({ variants, ...props }) => { </div> </div> ))} - </> + </div> ))} {variants.length > 2 && ( <button |
