fix: new project modal scrolls when it overflows(instead of clipping content)

This commit is contained in:
Hamzat Victor 2024-09-24 14:01:51 +01:00
parent af45df28d5
commit b7230f1bc4

View File

@ -71,7 +71,7 @@ const data: {
icon: "/project-icons/python.svg",
description: "A JavaScript runtime built on the V8 JavaScript engine",
disabled: false,
}
},
]
const formSchema = z.object({
@ -124,7 +124,7 @@ export default function NewProjectModal({
if (!loading) setOpen(open)
}}
>
<DialogContent>
<DialogContent className="max-h-[95vh] overflow-y-auto">
<DialogHeader>
<DialogTitle>Create A Sandbox</DialogTitle>
</DialogHeader>