section h-full

This commit is contained in:
Salam-vsem
2025-05-21 00:00:21 +03:00
parent a2833c0ef4
commit 9913c09755
14 changed files with 54 additions and 20 deletions

View File

@@ -27,7 +27,7 @@ export const MediaSwiper = React.forwardRef<SwiperRef, MediaSwiperProps>(
loop={true}
watchSlidesProgress={true}
style={{ overflow: 'hidden' }}
className={cn('h-full w-full', className)}
className={cn('w-full rounded-3xl', className)}
{...otherProps}
>
{images.map((image, index) => (
@@ -38,7 +38,7 @@ export const MediaSwiper = React.forwardRef<SwiperRef, MediaSwiperProps>(
decoding="async"
fetchPriority={index === 0 ? 'high' : 'auto'}
className={cn(
'aspect-video h-full w-full rounded-3xl object-cover object-center',
'aspect-video w-full rounded-3xl object-cover object-center',
imageClassName
)}
/>