diff --git a/src/app.css b/src/app.css index f7c14bcbd..85e53d83c 100644 --- a/src/app.css +++ b/src/app.css @@ -24,6 +24,15 @@ math { margin-top: 1rem; } +.cm-editor { + height: 100%; + width: 100%; +} + +.cm-editor.cm-focused { + outline: none; +} + .hljs { @apply rounded-lg; } diff --git a/src/lib/components/common/CodeEditor.svelte b/src/lib/components/common/CodeEditor.svelte index 963e99519..4b8c09be0 100644 --- a/src/lib/components/common/CodeEditor.svelte +++ b/src/lib/components/common/CodeEditor.svelte @@ -1,7 +1,7 @@ -
+