diff --git a/src/app/SCR-sSCR/Header/GetSCRDialog.tsx b/src/app/SCR-sSCR/Header/GetSCRDialog.tsx index 897be0bf7..6871e72ff 100644 --- a/src/app/SCR-sSCR/Header/GetSCRDialog.tsx +++ b/src/app/SCR-sSCR/Header/GetSCRDialog.tsx @@ -24,7 +24,6 @@ const GetSCRDialog = props => { "& .MuiDialog-paper": { width: "54.4rem", maxWidth: "100%", - padding: "4rem 3.2rem", borderRadius: "2rem", }, }, @@ -33,11 +32,10 @@ const GetSCRDialog = props => { "& .MuiDialog-paper": { margin: 0, borderRadius: 0, - height: "calc(var(--vh, 1vh) * 100)", + height: "100dvh", maxHeight: "unset", minWidth: "unset", width: "100%", - padding: "1.6rem 2rem 2rem", }, }, }), @@ -48,18 +46,18 @@ const GetSCRDialog = props => { Get SCR @@ -68,8 +66,9 @@ const GetSCRDialog = props => { { - // function setVh() { - // const vh = window.innerHeight * 0.01 - // document.documentElement.style.setProperty("--vh", `${vh}px`) - // } - // setVh() - // window.addEventListener("resize", setVh) - // return () => { - // window.removeEventListener("resize", setVh) - // } - // }, []) - return (