Skip to content

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

fix: editor is squeezed in focus mode

thecodrrf6b011006324
diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.js
index b8f1add00..26dea4550 100644
--- a/apps/web/src/components/editor/index.js
+++ b/apps/web/src/components/editor/index.js
@@ -133,7 +133,7 @@ function Editor({ noteId, nonce }) {
}}
transition={{ duration: 0.3, ease: "easeOut" }}
maxWidth={isFocusMode ? "auto" : "935px"}
- width={["100%", "100%", isFocusMode ? "50%" : "100%"]}
+ width={["100%", "100%", isFocusMode ? "auto" : "100%"]}
mt={[0, 0, 25]}
>
<Header />