diff --git a/frontend/components/Editor/Editor.js b/frontend/components/Editor/Editor.js index 025e5a034..6a25ebcf2 100644 --- a/frontend/components/Editor/Editor.js +++ b/frontend/components/Editor/Editor.js @@ -110,7 +110,7 @@ type KeyData = { render = () => { return ( - +
{!this.props.readOnly && } - +
); }; } diff --git a/frontend/components/Editor/Editor.scss b/frontend/components/Editor/Editor.scss index e28ecea2f..9cb57c6d5 100644 --- a/frontend/components/Editor/Editor.scss +++ b/frontend/components/Editor/Editor.scss @@ -1,6 +1,5 @@ .editor { color: #1b2631; - height: auto; width: 100%; h1, diff --git a/frontend/scenes/Document/Document.js b/frontend/scenes/Document/Document.js index edcf7c251..128cadd8f 100644 --- a/frontend/scenes/Document/Document.js +++ b/frontend/scenes/Document/Document.js @@ -133,6 +133,15 @@ type Props = { message={DISCARD_CHANGES} /> + + + - - {!isEditing && - } + {!isEditing && (visible ? '1' : '0')}; + transition: all 100ms ease-in-out; +`; + +const Container = styled.div` position: relative; width: 100%; `;