From 3c0957e956e16320e57e2512ce064c66b9f5da5d Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Sat, 24 Feb 2024 23:37:34 +0100 Subject: [PATCH] Changed size of only chat --- src/frontend/src/components/IOview/index.tsx | 2 +- src/frontend/src/modals/baseModal/index.tsx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/components/IOview/index.tsx b/src/frontend/src/components/IOview/index.tsx index 28024ad77..735f543d2 100644 --- a/src/frontend/src/components/IOview/index.tsx +++ b/src/frontend/src/components/IOview/index.tsx @@ -89,7 +89,7 @@ export default function IOView({ children, open, setOpen }): JSX.Element { return ( diff --git a/src/frontend/src/modals/baseModal/index.tsx b/src/frontend/src/modals/baseModal/index.tsx index 860551be9..134093f5c 100644 --- a/src/frontend/src/modals/baseModal/index.tsx +++ b/src/frontend/src/modals/baseModal/index.tsx @@ -66,6 +66,7 @@ interface BaseModalProps { | "small" | "medium" | "large" + | "large-thin" | "large-h-full" | "small-h-full" | "medium-h-full" @@ -128,6 +129,10 @@ function BaseModal({ minWidth = "min-w-[80vw]"; height = "h-[80vh]"; break; + case "large-thin": + minWidth = "min-w-[65vw]"; + height = "h-[80vh]"; + break; case "large-h-full": minWidth = "min-w-[80vw]"; break;