Skip to content

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

fix: do not limit width in focus mode

thecodrr3f9187075782
diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.js
index 3f74d51e2..d54747324 100644
--- a/apps/web/src/components/editor/index.js
+++ b/apps/web/src/components/editor/index.js
@@ -135,7 +135,7 @@ function Editor(props) {
marginLeft: isFocusMode ? "25%" : editorMargins,
}}
transition={{ duration: 0.3, ease: "easeOut" }}
- maxWidth={"900px"}
+ maxWidth={isFocusMode ? "auto" : "900px"}
mt={[0, 0, 25]}
>
<Header />