From 5909d5695e5d5573204e3faf50cd328bd2871f53 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Mon, 18 Jun 2018 19:07:57 +0100 Subject: [PATCH] Sets code editor height to be auto, with a reasonable min height --- ui-v2/app/styles/components/code-editor.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui-v2/app/styles/components/code-editor.scss b/ui-v2/app/styles/components/code-editor.scss index 4fecca03f6..1132925cc6 100644 --- a/ui-v2/app/styles/components/code-editor.scss +++ b/ui-v2/app/styles/components/code-editor.scss @@ -19,7 +19,10 @@ $syntax-dark-gray: #535f73; $syntax-gutter-grey: #2a2f36; $syntax-yellow: $yellow; - +.CodeMirror { + min-height: 300px; + height: auto; +} .CodeMirror-lint-tooltip { background-color: #f9f9fa; border: 1px solid $syntax-light-gray;