fix: editor padding and compile error
This commit is contained in:
@@ -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 = ({
|
||||
|
||||
Reference in New Issue
Block a user