This commit is contained in:
sebseb7
2025-07-20 01:11:41 +02:00
parent abe1bbfb67
commit a21efab9d2

View File

@@ -194,21 +194,25 @@ class PrerenderProduct extends React.Component {
} }
), ),
product.pictureList && React.createElement( product.pictureList && React.createElement(
CardMedia, Box,
{ { sx: { position: 'relative', display: 'inline-block' } },
component: 'img', React.createElement(
height: '400', CardMedia,
image: mainImage, {
alt: product.name, component: 'img',
sx: { height: '400',
objectFit: 'contain', image: mainImage,
cursor: 'pointer', alt: product.name,
transition: 'transform 0.2s ease-in-out', sx: {
'&:hover': { objectFit: 'contain',
transform: 'scale(1.02)' cursor: 'pointer',
transition: 'transform 0.2s ease-in-out',
'&:hover': {
transform: 'scale(1.02)'
}
} }
} }
} )
) )
), ),
// Product Details Section // Product Details Section