Skip to content

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

web: limit editor width to 850px

Abdullah Atta18a463219db6
diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsx
index ad480d961..3eb27f539 100644
--- a/apps/web/src/components/editor/index.tsx
+++ b/apps/web/src/components/editor/index.tsx
@@ -302,14 +302,11 @@ function EditorChrome(props: PropsWithChildren<EditorProps>) {
className="editor"
sx={{
alignSelf: ["stretch", focusMode ? "center" : "stretch", "center"],
- width: "100%",
- maxWidth: focusMode
- ? "min(100%, 850px)"
- : "max(calc(100% - 200px), 850px)"
+ maxWidth: "min(100%, 850px)",
+ width: "100%"
}}
px={6}
onClick={onRequestFocus}
- // mt={[2, 2, 25]}
>
{!isMobile && (
<Box