fix: modal frame

This commit is contained in:
ner committed 2024-10-19 23:31:45 +03:00
1 parent 9702f027ed
commit dc8dde4dbb
9 files changed
+17 -23

No files matched your search

@@ -21,7 +21,7 @@ const showTrailerModal = create(({ trailerKey, onResolve }: { trailerKey?: strin
<iframe
allowFullScreen
allow='autoplay'
className='rounded-xl border-none'
className='rounded-lg border-none'
width='100%'
height='100%'
src={`//www.youtube.com/embed/${trailerKey}?autoplay=1`}
+2 -2
View File
@@ -18,10 +18,10 @@ const Poster: FC<Props> = ({ show, onClick, className, rounded, containerProps }
return (
<div
{...(containerProps || {})}
className={cn('card-aspect-ratio relative bg-black overflow-hidden rounded-xl text-lg', className, rounded)}
className={cn('card-aspect-ratio relative bg-black overflow-hidden rounded-lg text-lg', className, rounded)}
>
<div className='flex size-full'>
<img className={cn('size-full rounded-xl object-cover', rounded)} src={show.poster} alt={show.title} />
<img className={cn('size-full rounded-lg object-cover', rounded)} src={show.poster} alt={show.title} />
</div>
<div
className={cn(