diff --git a/frontend/src/components/CodeEditor.tsx b/frontend/src/components/CodeEditor.tsx index 3d3c53d0a0..5e35805775 100644 --- a/frontend/src/components/CodeEditor.tsx +++ b/frontend/src/components/CodeEditor.tsx @@ -78,7 +78,15 @@ export const CodeEditor = ({ initialState, onTextChanged }: { initialState: Init const state = EditorState.create({ doc: initialState.initialText, - extensions: [commonExtensions, isDarkMode ? atomone : githubLight, json5(), editingExtensions], + extensions: [ + ...commonExtensions, + isDarkMode ? atomone : githubLight, + json5(), + editingExtensions, + EditorView.theme({ + '&': { height: '100%' }, + }), + ], }) const view = new EditorView({ @@ -94,5 +102,5 @@ export const CodeEditor = ({ initialState, onTextChanged }: { initialState: Init } }, [initialState, isDarkMode]) - return
+ return } diff --git a/frontend/src/components/ResizeableVerticalPanels.tsx b/frontend/src/components/ResizeableVerticalPanels.tsx index 10661ef39e..7861378b05 100644 --- a/frontend/src/components/ResizeableVerticalPanels.tsx +++ b/frontend/src/components/ResizeableVerticalPanels.tsx @@ -44,12 +44,14 @@ export const ResizableVerticalPanels: React.FC