Fixes 358 Save bar stuck
This commit is contained in:
parent
2f6deee25b
commit
684fd1c490
@ -40,3 +40,10 @@
|
||||
background: var(--backgroundColor);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.noPreviewEditorContainer {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
@ -101,9 +101,15 @@ class EntryEditor extends Component {
|
||||
</ScrollSync>
|
||||
);
|
||||
|
||||
const editorWithoutPreview = (
|
||||
<div className={styles.noPreviewEditorContainer}>
|
||||
{editor}
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
<div className={styles.root}>
|
||||
{ collectionPreviewEnabled && this.state.previewVisible ? editorWithPreview : editor }
|
||||
{ collectionPreviewEnabled && this.state.previewVisible ? editorWithPreview : editorWithoutPreview }
|
||||
<div className={styles.footer}>
|
||||
<Toolbar
|
||||
isPersisting={entry.get('isPersisting')}
|
||||
|
Loading…
x
Reference in New Issue
Block a user