From 2ba03ca3112476a7570a81f4247ac472aecaff72 Mon Sep 17 00:00:00 2001 From: thecodrr Date: Fri, 5 Feb 2021 10:24:43 +0500 Subject: [PATCH] fix: 50% width in focus mode instead of 900px --- apps/web/src/components/editor/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.js index 1aeda0215..35a75c42e 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={isFocusMode ? "900px" : "100%"} + width={isFocusMode ? "50%" : "100%"} mt={[0, 0, 25]} >