Skip to content

Commit 8a2ffd7

Browse files
committed
Merge branch 'elsa-0.2.x'
2 parents f48a145 + e8e28ba commit 8a2ffd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework/elsa/fit-elsa-react/src/flow/jadeFlowEntry.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,8 @@ export const JadeFlow = (() => {
478478
return graphDom;
479479
} else {
480480
const newGraphDom = document.createElement('div');
481-
newGraphDom.style.width = `${parentDom.clientWidth}px`;
482-
newGraphDom.style.height = `${parentDom.clientHeight}px`;
481+
newGraphDom.style.width = `100%`;
482+
newGraphDom.style.height = `100%`;
483483
newGraphDom.style.position = 'relative';
484484
newGraphDom.id = 'elsa-graph';
485485
parentDom.appendChild(newGraphDom);

0 commit comments

Comments
 (0)