From 9271b0c1a860abaf765e9fe6e9948eff4487dc52 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 11 Sep 2017 14:42:43 +0200 Subject: [PATCH] Try to fix half-codemirror bug --- www/code/app-code.less | 1 + www/slide/app-slide.less | 1 + 2 files changed, 2 insertions(+) diff --git a/www/code/app-code.less b/www/code/app-code.less index 4ed6e2837..8772a2653 100644 --- a/www/code/app-code.less +++ b/www/code/app-code.less @@ -18,6 +18,7 @@ .CodeMirror { display: inline-block; height: 100%; + min-height: 100%; width: 50%; min-width: 20%; max-width: 80%; diff --git a/www/slide/app-slide.less b/www/slide/app-slide.less index 5b0cb98be..a847f78ce 100644 --- a/www/slide/app-slide.less +++ b/www/slide/app-slide.less @@ -33,6 +33,7 @@ h6 { font-size: 24px; } .CodeMirror { height: 100%; + min-height: 100%; font-size: initial; } .CodeMirror-focused .cm-matchhighlight {