fix: 50% width in focus mode instead of 900px

This commit is contained in:
thecodrr
2021-02-05 10:24:43 +05:00
parent 7749029d74
commit 2ba03ca311

View File

@@ -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]}
>
<Header />