fix: close button in dialog not working

This commit is contained in:
thecodrr
2021-03-06 09:49:31 +05:00
parent eeba7dee7b
commit 4cae6eda43

View File

@@ -68,7 +68,14 @@ function Dialog(props) {
>
{props.showClose && (
<Icon.Close
sx={{ position: "absolute", top: 0, right: 30, mt: 38 }}
sx={{
position: "absolute",
cursor: "pointer",
top: 0,
right: 30,
mt: 38,
zIndex: 999,
}}
size={26}
onClick={props.onClose}
/>