style: adjust ResponsiveDialog Modal height to avoid flict

This commit is contained in:
lenhanphung
2025-10-09 15:17:41 +07:00
committed by Benoit TELLIER
parent 4d346751bf
commit 456271da32
+2 -2
View File
@@ -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,
},