fix: border radius
This commit is contained in:
1 parent
47c0b5eb47
commit
9702f027ed
9 files changed
+15
-21
No files matched your search
@@ -7,7 +7,7 @@ const Container = () => (
|
||||
<Random />
|
||||
<div className='h-2 w-full' />
|
||||
</div>
|
||||
<div className='hidden w-full rounded-lg xs:block'>
|
||||
<div className='hidden w-full rounded-xl xs:block'>
|
||||
<Trending />
|
||||
<div className='h-2 w-full' />
|
||||
</div>
|
||||
|
||||
@@ -21,7 +21,7 @@ const showTrailerModal = create(({ trailerKey, onResolve }: { trailerKey?: strin
|
||||
<iframe
|
||||
allowFullScreen
|
||||
allow='autoplay'
|
||||
className='rounded-lg border-none'
|
||||
className='rounded-xl border-none'
|
||||
width='100%'
|
||||
height='100%'
|
||||
src={`//www.youtube.com/embed/${trailerKey}?autoplay=1`}
|
||||
|
||||
@@ -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-lg text-lg', className, rounded)}
|
||||
className={cn('card-aspect-ratio relative bg-black overflow-hidden rounded-xl text-lg', className, rounded)}
|
||||
>
|
||||
<div className='flex size-full'>
|
||||
<img className={cn('size-full rounded-lg object-cover', rounded)} src={show.poster} alt={show.title} />
|
||||
<img className={cn('size-full rounded-xl object-cover', rounded)} src={show.poster} alt={show.title} />
|
||||
</div>
|
||||
<div
|
||||
className={cn(
|
||||
|
||||
@@ -37,13 +37,7 @@ const Credits: FC<Props> = ({ showId, showType = 'movie', onPersonClick }) => {
|
||||
onClick={() => onPersonClick?.(actor.id.toString())}
|
||||
>
|
||||
<div className='overflow-hidden rounded-lg'>
|
||||
{actor.profile_path ? (
|
||||
<img height={180} width={120} src={actor.photoUrl} alt={actor.name} />
|
||||
) : (
|
||||
<div className='flex h-[180px] w-[120px] items-center justify-center rounded-lg'>
|
||||
<User2 size={120} strokeWidth={1} />
|
||||
</div>
|
||||
)}
|
||||
<img height={180} width={120} src={actor.photoUrl} alt={actor.name} />
|
||||
</div>
|
||||
<div className='absolute left-0 top-0 flex size-full flex-col justify-between rounded-md bg-vignette p-2 py-1 text-sm text-white'>
|
||||
<p className=' truncate'>{actor.name}</p>
|
||||
|
||||
@@ -84,7 +84,7 @@ const TorrentsTable: FC<Props> = ({ title, torrents, backdrop, sort, sortable, p
|
||||
<div className='no-scrollbar flex max-w-full justify-end gap-2 overflow-auto'>
|
||||
{supportedForStream && (
|
||||
<div
|
||||
className='flex size-8 cursor-pointer items-center justify-center rounded-lg border'
|
||||
className='flex size-8 cursor-pointer items-center justify-center rounded-xl border'
|
||||
onClick={() => showPlayer({ magnet: torrent.magnet, backdrop, title })}
|
||||
title='Play show'
|
||||
>
|
||||
@@ -95,20 +95,20 @@ const TorrentsTable: FC<Props> = ({ title, torrents, backdrop, sort, sortable, p
|
||||
href={`${process.env.NEXT_PUBLIC_TORRENT_PROXY}/stream?m3u&link=${encodeURIComponent(
|
||||
torrent.magnet
|
||||
)}`}
|
||||
className='flex size-8 items-center justify-center rounded-lg border'
|
||||
className='flex size-8 items-center justify-center rounded-xl border'
|
||||
title='Open using you native video player'
|
||||
>
|
||||
<ListVideo size={20} />
|
||||
</a>
|
||||
<a
|
||||
href={torrent.magnet}
|
||||
className='flex size-8 items-center justify-center rounded-lg border'
|
||||
className='flex size-8 items-center justify-center rounded-xl border'
|
||||
title='Download magnet'
|
||||
>
|
||||
<Magnet size={20} />
|
||||
</a>
|
||||
<div
|
||||
className='flex size-8 cursor-pointer items-center justify-center rounded-lg border'
|
||||
className='flex size-8 cursor-pointer items-center justify-center rounded-xl border'
|
||||
onClick={() => navigator.clipboard.writeText(torrent.magnet)}
|
||||
title='Copy magnet into clipboard'
|
||||
>
|
||||
@@ -117,7 +117,7 @@ const TorrentsTable: FC<Props> = ({ title, torrents, backdrop, sort, sortable, p
|
||||
{supportedForCast && (
|
||||
<div
|
||||
onClick={() => cast(torrent.magnet!)}
|
||||
className='flex size-8 cursor-pointer items-center justify-center rounded-lg border'
|
||||
className='flex size-8 cursor-pointer items-center justify-center rounded-xl border'
|
||||
>
|
||||
<Cast size={20} />
|
||||
</div>
|
||||
|
||||
@@ -68,8 +68,8 @@ const components: VirtuosoProps<Show, (index: number) => void>['components'] = {
|
||||
<div
|
||||
{...props}
|
||||
ref={handleRef(ref, setRef)}
|
||||
className={cn('no-scrollbar h-full overflow-hidden rounded-lg', {
|
||||
'snap-x snap-mandatory': !isArrowHovered
|
||||
className={cn('no-scrollbar h-full overflow-hidden rounded-xl', {
|
||||
'snap-x snap-mandatory ': !isArrowHovered
|
||||
})}
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -13,7 +13,7 @@ const Gallery: FC<Props> = ({ shows }) => (
|
||||
{(setRef) => (
|
||||
<ul
|
||||
ref={setRef}
|
||||
className='no-scrollbar flex animate-fade-aside-slide-in snap-x snap-mandatory gap-2 overflow-auto rounded-lg opacity-0'
|
||||
className='no-scrollbar flex animate-fade-aside-slide-in snap-x snap-mandatory gap-2 overflow-auto rounded-xl opacity-0'
|
||||
>
|
||||
{shows.map((show) => (
|
||||
<li key={show.id} className='snap-start'>
|
||||
|
||||
@@ -28,7 +28,7 @@ const UsersList: FC<Props> = ({ list, label }) => {
|
||||
|
||||
return (
|
||||
<Tabs defaultValue='movie' className='flex w-full flex-col items-center'>
|
||||
<TabsList className='grid w-[300px] grid-cols-2'>
|
||||
<TabsList className='grid w-full grid-cols-2 sm:w-[300px]'>
|
||||
{tabs.map(({ title, key }) => (
|
||||
<TabsTrigger key={key} value={key}>
|
||||
{title}
|
||||
|
||||
@@ -102,7 +102,7 @@ const DialogContent = React.forwardRef<
|
||||
|
||||
return (
|
||||
<DialogPortal>
|
||||
<div className='fixed inset-0 z-50 size-full bg-black/80' data-overlay ref={wrapperRef}>
|
||||
<div className='fixed inset-0 z-50 size-full bg-black/65' data-overlay ref={wrapperRef}>
|
||||
<DialogOverlay
|
||||
ref={(element) => {
|
||||
if (!element) return;
|
||||
|
||||
Reference in new issue
Block a user