fix: project setup modal positioning (#10144)

This commit is contained in:
Ryan Willis
2026-06-23 10:31:22 -07:00
committed by GitHub
parent aef7619b84
commit 8fa43a0540

View File

@@ -58,11 +58,11 @@ export const ProjectModal = ({
if (!open) requestClose();
}}
isDismissable={false}
className="fixed top-0 right-0 bottom-0 left-0 z-10 flex items-start justify-center bg-black/30 pt-[200px]"
className="fixed top-0 left-0 z-10 flex h-(--visual-viewport-height) w-full items-center justify-center bg-black/30"
>
<Modal
ref={modalRef}
className="flex max-h-[calc(var(--visual-viewport-height)-140px)] w-full max-w-3xl flex-col overflow-hidden rounded-md border border-solid border-(--hl-sm) bg-(--color-bg) text-(--color-font)"
className="flex h-max max-h-[calc(100%-var(--padding-xl))] w-full max-w-3xl flex-col overflow-hidden rounded-md border border-solid border-(--hl-sm) bg-(--color-bg) text-(--color-font)"
>
<Dialog
aria-label="Create or update dialog"