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(
CardMedia,
{
component: 'img',
height: '400',
image: mainImage,
alt: product.name,
sx: {
objectFit: 'contain',
cursor: 'pointer',
transition: 'transform 0.2s ease-in-out',
'&:hover': {
transform: 'scale(1.02)'
Box,
{ sx: { position: 'relative', display: 'inline-block' } },
React.createElement(
CardMedia,
{
component: 'img',
height: '400',
image: mainImage,
alt: product.name,
sx: {
objectFit: 'contain',
cursor: 'pointer',
transition: 'transform 0.2s ease-in-out',
'&:hover': {
transform: 'scale(1.02)'
}
}
}
}
)
)
),
// Product Details Section