From dcf7d51046f6d03e539bbcbe58503c3e5a01f30e Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sun, 9 Oct 2022 01:34:34 +0100 Subject: [PATCH] fix: editor height --- src/components/ui/Editor.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/ui/Editor.tsx b/src/components/ui/Editor.tsx index 962aa123..22eba139 100644 --- a/src/components/ui/Editor.tsx +++ b/src/components/ui/Editor.tsx @@ -37,6 +37,9 @@ const theme = EditorView.theme({ "&.cm-editor.cm-focused": { outline: "none", }, + "&.cm-editor": { + height: "100%", + }, }) export const useEditor = ({