Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: close button in dialog not working

thecodrr4cae6eda437b
diff --git a/apps/web/src/components/dialogs/dialog.js b/apps/web/src/components/dialogs/dialog.js
index 7f3a222ea..eeb8eb22f 100644
--- a/apps/web/src/components/dialogs/dialog.js
+++ b/apps/web/src/components/dialogs/dialog.js
@@ -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}
/>