diff --git a/frontend/components/Editor/Editor.js b/frontend/components/Editor/Editor.js
index 26f2d167..1ad4d899 100644
--- a/frontend/components/Editor/Editor.js
+++ b/frontend/components/Editor/Editor.js
@@ -154,32 +154,34 @@ type Props = {
onDrop={this.handleDrop}
onDragOver={this.cancelEvent}
onDragEnter={this.cancelEvent}
+ align="flex-start"
+ justify="center"
auto
- column
- align="center"
>
-
- {this.props.heading}
-
-
- (this.editor = ref)}
- placeholder="Start with a title..."
- className={cx(styles.editor, { readOnly: this.props.readOnly })}
- schema={this.schema}
- plugins={this.plugins}
- state={this.state.state}
- onChange={this.onChange}
- onDocumentChange={this.onDocumentChange}
- onSave={this.props.onSave}
- readOnly={this.props.readOnly}
- />
- {!this.props.readOnly &&
- }
+
+
+ {this.props.heading}
+
+
+ (this.editor = ref)}
+ placeholder="Start with a title..."
+ className={cx(styles.editor, { readOnly: this.props.readOnly })}
+ schema={this.schema}
+ plugins={this.plugins}
+ state={this.state.state}
+ onChange={this.onChange}
+ onDocumentChange={this.onDocumentChange}
+ onSave={this.props.onSave}
+ readOnly={this.props.readOnly}
+ />
+ {!this.props.readOnly &&
+ }
+
);
};
@@ -189,6 +191,11 @@ MarkdownEditor.childContextTypes = {
starred: PropTypes.bool,
};
+const MaxWidth = styled(Flex)`
+ max-width: 50em;
+ height: 100%;
+`;
+
const HeaderContainer = styled(Flex).attrs({
align: 'flex-end',
})`
diff --git a/frontend/components/Editor/Editor.scss b/frontend/components/Editor/Editor.scss
index d9dd7269..808cd0f0 100644
--- a/frontend/components/Editor/Editor.scss
+++ b/frontend/components/Editor/Editor.scss
@@ -2,8 +2,7 @@
font-weight: 400;
font-size: 1em;
line-height: 1.5em;
- padding: 0 3em;
- width: 50em;
+ width: 100%;
color: #1b2631;
h1,