Skip to content

Commit 5da4da1

Browse files
committed
Fix modal container
1 parent 1f6eec7 commit 5da4da1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scrapflow-client/src/components/ui/Modal.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ export default function Modal({ open, onOpenChange, title, description, children
3535
transition={{ duration: 0.2, ease: 'easeOut' }}
3636
className={`fixed z-50 left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2
3737
w-full ${widths[size] ?? widths.md} mx-4
38-
glass-card p-6 outline-none`}
38+
glass-card p-6 outline-none
39+
max-h-[90vh] overflow-y-auto`}
3940
>
4041
{/* Header */}
4142
{(title || description) && (

0 commit comments

Comments
 (0)