Fix profile layout overflow to content height in Firefox, fixes #118

This commit is contained in:
Norbert Renner 2018-04-26 19:02:39 +02:00
parent a6aeb98a1a
commit 512c0cc712

View file

@ -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;