fix: modal height

This commit is contained in:
ner committed 2024-10-15 22:52:26 +03:00
1 parent 22ad393a44
commit b8c03669e4
2 files changed
+2 -2

No files matched your search

@@ -57,7 +57,7 @@ const showTorrentsModal = create(({ title, year, imdbID, backdrop, onResolve }:
}, [providerKey, yts.isFetched, tpb.isFetched]);
return (
<Modal className='overflow-hidden rounded-xl p-0 pb-1' onClose={onResolve}>
<Modal className='rounded-xl p-0 pb-1' onClose={onResolve}>
<div className='grid grid-cols-[1fr_auto] items-center gap-3 p-2'>
<span className='truncate text-base'>{title}</span>
<Button className='h-6 p-2' variant={withYear ? 'default' : 'ghost'} onClick={() => setWithYear((w) => w)}>
+1 -1
View File
@@ -102,7 +102,7 @@ const DialogContent = React.forwardRef<
return (
<DialogPortal>
<div className='fixed inset-0 z-50 size-full bg-black/50' ref={wrapperRef}>
<div className='fixed inset-0 z-50 size-full bg-black/40 will-change-[opacity]' ref={wrapperRef}>
<DialogOverlay
ref={(element) => {
if (!element) return;