fix: editor overflow (#1253)

This commit is contained in:
Himself65
2023-03-02 00:39:49 -06:00
committed by GitHub
parent f34a64a82a
commit 68b33cbdbd
2 changed files with 6 additions and 2 deletions
@@ -54,6 +54,9 @@ export const PageDetailEditor: React.FC<PageDetailEditorProps> = ({
{header}
</BlockSuiteEditorHeader>
<Editor
style={{
height: 'calc(100% - 60px)',
}}
blockSuiteWorkspace={blockSuiteWorkspace}
mode={meta.mode ?? 'page'}
page={page}