Webbuild: set editor height to 500 and other css changes

This commit is contained in:
Silvan Calarco 2019-07-28 17:24:27 +02:00
parent 7631d30e64
commit 4f7942e57d
2 changed files with 6 additions and 0 deletions

View File

@ -255,6 +255,11 @@ div#container {
.processes {
width:100%;
}
.CodeMirror {
font-size:9pt;
font-family:monospace;
line-height:1em;
}
.editor {
float:left;
width:100%;

View File

@ -103,6 +103,7 @@ function ajax_getvalues(request,confirm) {
indentWithTabs: true,
onChange: function() { editorChanged(); }
});
editor.setSize(null, 500);
} else if ((nodes[i].nodeName == "output") && (document.getElementById("outputbottom") != undefined)) {
document.getElementById("outputbottom").scrollTop = document.getElementById("outputbottom").scrollHeight;
} else if ((nodes[i].nodeName == "processes")) {