summaryrefslogtreecommitdiff
path: root/src/lib/product
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2023-08-08 03:42:01 +0000
committerIT Fixcomart <it@fixcomart.co.id>2023-08-08 03:42:01 +0000
commit0215ec338889bdad479b568c50f32ddce863d6bf (patch)
tree53d9f4d8991ba699b30eacfac1b2498ae1b0bf48 /src/lib/product
parentf862f6426c28fb9245d13fb7386a88b209639d64 (diff)
parent16fed2e7d00252f5df3f9b5bdf0a5a2b2a094f76 (diff)
Merged in load-performance (pull request #42)
Improve home page performance
Diffstat (limited to 'src/lib/product')
-rw-r--r--src/lib/product/components/ProductCard.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index a8964310..51a369c4 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -12,7 +12,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
if (variant == 'vertical') {
return (
- <div className='rounded shadow-sm border border-gray_r-4 bg-white h-[350px]'>
+ <div className='rounded shadow-sm border border-gray_r-4 bg-white h-[280px] md:h-[320px]'>
<Link
href={createSlug('/shop/product/', product?.name, product?.id)}
className='border-b border-gray_r-4 relative'