Publishing Info (#70)
* Restore publishing info Closes #68 * Prevent document remounting / refetching when changing between edit / read * Merge master
This commit is contained in:
@@ -98,7 +98,7 @@ export default class MarkdownEditor extends Component {
|
||||
|
||||
render = () => {
|
||||
return (
|
||||
<span className={styles.container}>
|
||||
<span>
|
||||
<ClickablePadding onClick={this.focusAtStart} />
|
||||
<Toolbar state={this.state.state} onChange={this.onChange} />
|
||||
<Editor
|
||||
|
||||
@@ -1,16 +1,3 @@
|
||||
.container {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
|
||||
font-weight: 400;
|
||||
font-size: 1em;
|
||||
line-height: 1.5em;
|
||||
|
||||
padding: 0 3em;
|
||||
max-width: 50em;
|
||||
}
|
||||
|
||||
.editor {
|
||||
color: #1b2631;
|
||||
height: auto;
|
||||
|
||||
Reference in New Issue
Block a user