diff --git a/src/components/Dialog/ResponsiveDialog.tsx b/src/components/Dialog/ResponsiveDialog.tsx index fefb9d9..a4d53fc 100644 --- a/src/components/Dialog/ResponsiveDialog.tsx +++ b/src/components/Dialog/ResponsiveDialog.tsx @@ -104,11 +104,11 @@ function ResponsiveDialog({ "& .MuiDialog-paper": { maxWidth: isExpanded ? "100%" : normalMaxWidth, width: "100%", - height: isExpanded ? `calc(100vh - ${headerHeight})` : "auto", + // height: isExpanded ? `calc(100vh - ${headerHeight})` : "90vh", margin: isExpanded ? `${headerHeight} 0 0 0` : "32px", maxHeight: isExpanded ? `calc(100vh - ${headerHeight})` - : `calc(100vh - 90px)`, + : "790px", boxShadow: isExpanded ? "none !important" : undefined, transition: isExpanded ? "none !important" : undefined, },