fix: editor height

This commit is contained in:
DIYgod 2022-10-09 01:34:34 +01:00
parent 29e77d241a
commit dcf7d51046
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@ const theme = EditorView.theme({
"&.cm-editor.cm-focused": {
outline: "none",
},
"&.cm-editor": {
height: "100%",
},
})
export const useEditor = ({