fix: editor height

This commit is contained in:
DIYgod
2022-10-09 01:34:34 +01:00
parent 29e77d241a
commit dcf7d51046
+3
View File
@@ -37,6 +37,9 @@ const theme = EditorView.theme({
"&.cm-editor.cm-focused": {
outline: "none",
},
"&.cm-editor": {
height: "100%",
},
})
export const useEditor = ({