From 33062543b4f4b2b42d078140ba63d8272cc28e56 Mon Sep 17 00:00:00 2001 From: Sudhanshu Dasgupta Date: Fri, 14 Jun 2024 16:24:34 +0530 Subject: [PATCH] fix(style): modal Signed-off-by: Sudhanshu Dasgupta --- src/custom/Modal/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/custom/Modal/index.tsx b/src/custom/Modal/index.tsx index 110afb56b..21fd2daff 100644 --- a/src/custom/Modal/index.tsx +++ b/src/custom/Modal/index.tsx @@ -49,8 +49,6 @@ const CloseBtn = styled(IconButton)` const StyledDialog = styled(Dialog)` && { .MuiDialog-paper { - width: auto; - max-width: 100%; border-radius: 0.5rem; } } @@ -128,10 +126,13 @@ export const Modal: React.FC = ({ headerIcon, reactNode, children, + maxWidth = 'xs', ...props }) => { return (