section h-full
This commit is contained in:
@@ -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
|
||||
)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user