fix: editor padding and compile error

This commit is contained in:
DIYgod
2022-10-10 22:02:40 +01:00
parent b07aeec40e
commit 2ed3d9b366
3 changed files with 77 additions and 77 deletions
+1 -4
View File
@@ -29,17 +29,14 @@ const theme = EditorView.theme({
fontSize: "1rem",
overflow: "auto",
height: "100%",
paddingBottom: "200px",
},
".cm-content": {
height: "100%",
paddingBottom: "600px",
},
"&.cm-editor.cm-focused": {
outline: "none",
},
"&.cm-editor": {
height: "100%",
},
})
export const useEditor = ({