Skip to content

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

fix: editor getting stretched in focus mode

thecodrrcb73df2df18d
diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.js
index 237fc608d..1aeda0215 100644
--- a/apps/web/src/components/editor/index.js
+++ b/apps/web/src/components/editor/index.js
@@ -118,7 +118,7 @@ function Editor(props) {
}}
transition={{ duration: 0.3, ease: "easeOut" }}
maxWidth={isFocusMode ? "auto" : "900px"}
- width="100%"
+ width={isFocusMode ? "900px" : "100%"}
mt={[0, 0, 25]}
>
<Header />