From 5d76735194e948b921581dca854c345ecc64012d Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Sun, 31 Mar 2024 04:01:07 +0300 Subject: [PATCH] tried to change height of baseModal --- src/frontend/src/modals/baseModal/index.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/frontend/src/modals/baseModal/index.tsx b/src/frontend/src/modals/baseModal/index.tsx index d77edcc6f..719de33e2 100644 --- a/src/frontend/src/modals/baseModal/index.tsx +++ b/src/frontend/src/modals/baseModal/index.tsx @@ -127,6 +127,7 @@ function BaseModal({ break; case "small-h-full": minWidth = "min-w-[40vw]"; + height = " "; break; case "medium": minWidth = "min-w-[60vw]"; @@ -134,10 +135,11 @@ function BaseModal({ break; case "medium-h-full": minWidth = "min-w-[60vw]"; + height = " "; break; case "large": - minWidth = "min-w-[85vw]"; - height = "h-[70vh]"; + minWidth = "min-w-[85vw]" ; + height = "h-[80vh]"; break; case "three-cards": minWidth = "min-w-[1066px]"; @@ -149,6 +151,7 @@ function BaseModal({ break; case "large-h-full": minWidth = "min-w-[80vw]"; + height = " "; break; default: minWidth = "min-w-[80vw]"; @@ -168,12 +171,12 @@ function BaseModal({ {type === "modal" ? ( {triggerChild} - +
{headerChild}
{ContentChild}