style: adjust ResponsiveDialog Modal height to avoid flict
This commit is contained in:
committed by
Benoit TELLIER
parent
4d346751bf
commit
456271da32
@@ -104,11 +104,11 @@ function ResponsiveDialog({
|
|||||||
"& .MuiDialog-paper": {
|
"& .MuiDialog-paper": {
|
||||||
maxWidth: isExpanded ? "100%" : normalMaxWidth,
|
maxWidth: isExpanded ? "100%" : normalMaxWidth,
|
||||||
width: "100%",
|
width: "100%",
|
||||||
height: isExpanded ? `calc(100vh - ${headerHeight})` : "auto",
|
// height: isExpanded ? `calc(100vh - ${headerHeight})` : "90vh",
|
||||||
margin: isExpanded ? `${headerHeight} 0 0 0` : "32px",
|
margin: isExpanded ? `${headerHeight} 0 0 0` : "32px",
|
||||||
maxHeight: isExpanded
|
maxHeight: isExpanded
|
||||||
? `calc(100vh - ${headerHeight})`
|
? `calc(100vh - ${headerHeight})`
|
||||||
: `calc(100vh - 90px)`,
|
: "790px",
|
||||||
boxShadow: isExpanded ? "none !important" : undefined,
|
boxShadow: isExpanded ? "none !important" : undefined,
|
||||||
transition: isExpanded ? "none !important" : undefined,
|
transition: isExpanded ? "none !important" : undefined,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user