mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-24 07:29:30 +01:00
fix: stretch editor on smaller screens
This commit is contained in:
@@ -126,7 +126,10 @@ function Editor(props) {
|
||||
<Animated.Flex
|
||||
variant="columnFill"
|
||||
className="editor"
|
||||
sx={{ mx: [0, 0, editorMargins], alignSelf: "center" }}
|
||||
sx={{
|
||||
mx: [0, 0, editorMargins],
|
||||
alignSelf: ["stretch", "stretch", "center"],
|
||||
}}
|
||||
animate={{
|
||||
marginRight: isFocusMode ? "25%" : editorMargins,
|
||||
marginLeft: isFocusMode ? "25%" : editorMargins,
|
||||
|
||||
Reference in New Issue
Block a user