Try to fix half-codemirror bug

This commit is contained in:
yflory 2017-09-11 14:42:43 +02:00
parent 304a8df808
commit 9271b0c1a8
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
.CodeMirror { .CodeMirror {
display: inline-block; display: inline-block;
height: 100%; height: 100%;
min-height: 100%;
width: 50%; width: 50%;
min-width: 20%; min-width: 20%;
max-width: 80%; max-width: 80%;

View File

@ -33,6 +33,7 @@ h6 { font-size: 24px; }
.CodeMirror { .CodeMirror {
height: 100%; height: 100%;
min-height: 100%;
font-size: initial; font-size: initial;
} }
.CodeMirror-focused .cm-matchhighlight { .CodeMirror-focused .cm-matchhighlight {