fix(dialogs): fix height of dialogs for small screens (#440)

* fix(dialogs): fix height of dialogs on small screens

* fix type
This commit is contained in:
Guy Ben-Aharon
2024-11-24 12:21:15 +02:00
committed by GitHub
parent 2940431efa
commit 667685ed0f
10 changed files with 258 additions and 224 deletions

View File

@@ -128,7 +128,7 @@ export const CreateDiagramDialog: React.FC<CreateDiagramDialogProps> = ({
}}
>
<DialogContent
className="flex w-[90vw] max-w-[90vw] flex-col overflow-y-auto md:overflow-visible lg:max-w-[60vw] xl:lg:max-w-lg xl:min-w-[45vw]"
className="flex max-h-screen w-[90vw] max-w-[90vw] flex-col overflow-y-auto md:overflow-visible lg:max-w-[60vw] xl:lg:max-w-lg xl:min-w-[45vw]"
showClose={hasExistingDiagram}
>
{step === CreateDiagramDialogStep.SELECT_DATABASE ? (