fix: editor getting stretched in focus mode

This commit is contained in:
thecodrr
2021-02-05 10:19:02 +05:00
parent d7fb8fd110
commit cb73df2df1

View File

@@ -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 />