This commit is contained in:
Kirill
2026-05-26 12:52:47 +05:00
parent c01070cb09
commit e93fc7a972
2 changed files with 38 additions and 48 deletions
@@ -81,7 +81,7 @@ const ProductCardInner = ({ product, mediaHeight = 200, actions }: Props) => {
<Box onMouseMove={!isMobile ? onMouseMove : undefined} sx={{ height: mediaHeight, overflow: 'hidden' }}>
<Swiper
slidesPerView={1}
spaceBetween={0}
spaceBetween={16}
allowTouchMove={!isMobile}
onSwiper={(s) => {
swiperRef.current = s
@@ -106,7 +106,7 @@ const ProductCardInner = ({ product, mediaHeight = 200, actions }: Props) => {
alt={product.title}
sizes={`(max-width: 600px) ${mediaHeight}px, (max-width: 1024px) ${Math.round(mediaHeight * 1.5)}px, ${mediaHeight}px`}
sx={{
width: '100%',
width: '101%',
height: '100%',
objectFit: 'cover',
}}