diff --git a/client/src/components/Workflow/Editor/WorkflowGraph.vue b/client/src/components/Workflow/Editor/WorkflowGraph.vue index 21b7ce158f2..d896f63b1e6 100644 --- a/client/src/components/Workflow/Editor/WorkflowGraph.vue +++ b/client/src/components/Workflow/Editor/WorkflowGraph.vue @@ -16,16 +16,14 @@ @transform="onTransform" @dragging="onDrag" @scaling="onScale"> - - +
+ - -
diff --git a/client/src/style/scss/workflow.scss b/client/src/style/scss/workflow.scss index 4110448e8a4..b67a8be2d93 100644 --- a/client/src/style/scss/workflow.scss +++ b/client/src/style/scss/workflow.scss @@ -6,15 +6,15 @@ // not sure if hack or not ... overflow: visible; display: block; - position: absolute; - top: 0px; - left: 0px } -.nodeArea { +.node-area { position: absolute; - top: 0px; - left: 0px; + top: 0; + left: 0; + width: 100%; + height: 100%; + transform-origin: 0 0; } .workflow-client { .workflow-panel { @@ -220,7 +220,6 @@ } #canvas-container { border-radius: 5px; - position: relative; overflow: scroll; width: 100%; height: 100%;