diff --git a/src/frontend/src/modals/baseModal/index.tsx b/src/frontend/src/modals/baseModal/index.tsx index 6df524b54..08f00ae8d 100644 --- a/src/frontend/src/modals/baseModal/index.tsx +++ b/src/frontend/src/modals/baseModal/index.tsx @@ -115,47 +115,44 @@ function BaseModal({ break; case "smaller": minWidth = "min-w-[40vw]"; - height = ""; + height = "h-[11rem]"; break; case "smaller-h-full": minWidth = "min-w-[40vw]"; - height = " "; + height = "h-full"; break; case "small": minWidth = "min-w-[40vw]"; - height = ""; + height = "h-[40vh]"; break; case "small-h-full": minWidth = "min-w-[40vw]"; - height = " "; break; case "medium": minWidth = "min-w-[60vw]"; - height = ""; + height = "h-[60vh]"; break; case "medium-h-full": minWidth = "min-w-[60vw]"; - height = " "; break; case "large": - minWidth = "min-w-[85vw]" ; - height = "h-[90vh]"; + minWidth = "min-w-[85vw]"; + height = "h-[80vh]"; break; case "three-cards": minWidth = "min-w-[1066px]"; - height = ""; + height = "h-[80vh]"; break; case "large-thin": minWidth = "min-w-[65vw]"; - height = "h-[90vh]"; + height = "h-[80vh]"; break; case "large-h-full": minWidth = "min-w-[80vw]"; - height = " "; break; default: minWidth = "min-w-[80vw]"; - height = ""; + height = "h-[80vh]"; break; } @@ -171,34 +168,34 @@ function BaseModal({ {type === "modal" ? ( {triggerChild} - -
+ +
{headerChild}
{ContentChild}
{ContentFooter && ( -
{ContentFooter}
+
{ContentFooter}
)}
) : ( {triggerChild} - -
+ +
{headerChild}
{ContentChild}
{ContentFooter && ( -
{ContentFooter}
+
{ContentFooter}
)}