Skip to content
Snippets Groups Projects
Commit ce42fde4 authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

Calc dmn Modeler height

parent 277919dd
No related branches found
No related tags found
No related merge requests found
......@@ -12,13 +12,15 @@ $tabs.delegate('.tab', 'click', function (e) {
dmnModeler.open(view);
});
// calc height
let dmnModelerHeight = $(window).height() / 2.5;
/**
*
* @type {DmnJS}
*/
let dmnModeler = new DmnJS({
container: $container,
height: 450,
height: dmnModelerHeight,
width: '100%',
keyboard: {
bindTo: window
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment