diff --git a/css/style.css b/css/style.css index a14d602..2de8e85 100644 --- a/css/style.css +++ b/css/style.css @@ -365,7 +365,11 @@ table.dataTable.display tbody tr.even:hover { */ .CodeMirror { - height: 100%; + /* auto instead of 1 to avoid overflow to content height in Firefox */ + flex: auto; + /* override default 300px, behaves like min-height with flex auto */ + height: 0; + border: 1px solid #ddd; font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;