From 456271da3281345cbde9120287a93703d5dab11c Mon Sep 17 00:00:00 2001 From: lenhanphung Date: Thu, 9 Oct 2025 15:17:41 +0700 Subject: [PATCH] style: adjust ResponsiveDialog Modal height to avoid flict --- src/components/Dialog/ResponsiveDialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, },