We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f48a145 + e8e28ba commit 8a2ffd7Copy full SHA for 8a2ffd7
framework/elsa/fit-elsa-react/src/flow/jadeFlowEntry.jsx
@@ -478,8 +478,8 @@ export const JadeFlow = (() => {
478
return graphDom;
479
} else {
480
const newGraphDom = document.createElement('div');
481
- newGraphDom.style.width = `${parentDom.clientWidth}px`;
482
- newGraphDom.style.height = `${parentDom.clientHeight}px`;
+ newGraphDom.style.width = `100%`;
+ newGraphDom.style.height = `100%`;
483
newGraphDom.style.position = 'relative';
484
newGraphDom.id = 'elsa-graph';
485
parentDom.appendChild(newGraphDom);
0 commit comments