diff --git a/Platform/WebServer/css/code-editor.css b/Platform/WebServer/css/code-editor.css index 5a735d4d1..c030c8170 100644 --- a/Platform/WebServer/css/code-editor.css +++ b/Platform/WebServer/css/code-editor.css @@ -5,8 +5,8 @@ margin: 20 25 20 30px; } -.editor { - height: 100vh; +.editor{ + height: 70vh; overflow: hidden; } diff --git a/Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js b/Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js index 5b91e1a31..4198e3782 100644 --- a/Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js +++ b/Projects/Foundations/UI/Spaces/CodeEditor-Space/EditorPage.js @@ -55,6 +55,8 @@ function newFoundationsCodeEditorEditorPage() { function initMonacoEditor() { if (monacoEditor === undefined) { + document.getElementById('no-content').remove() + document.getElementById('code-path').insertAdjacentHTML('afterend',`