From cb73df2df18d147932ce5d2417ae1e778a6db7c1 Mon Sep 17 00:00:00 2001 From: thecodrr Date: Fri, 5 Feb 2021 10:19:02 +0500 Subject: [PATCH] fix: editor getting stretched in focus mode --- 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 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]} >