Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Update loop node styles (#972)
Shuchang Zhengafb39da5c349
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/LoopNode/LoopNode.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/LoopNode/LoopNode.tsxindex 18615449b..1fd8ae81a 100644--- a/skyvern-frontend/src/routes/workflows/editor/nodes/LoopNode/LoopNode.tsx+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/LoopNode/LoopNode.tsx@@ -77,7 +77,7 @@ function LoopNode({ id, data }: NodeProps<LoopNode>) {className="opacity-0"/><div- className="w-[60rem] rounded-md border-2 border-dashed border-slate-600 p-2"+ className="w-[600px] rounded-xl border-2 border-dashed border-slate-600 p-2"style={{height: childrenHeightExtent,}}diff --git a/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts b/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.tsindex de64ae96f..9859ad8e6 100644--- a/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts+++ b/skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts@@ -99,7 +99,7 @@ function layout(const maxChildWidth = Math.max(...childNodes.map((node) => node.measured?.width ?? 0),);- const loopNodeWidth = 60 * 16; // 60 rem+ const loopNodeWidth = 600; // 600 pxconst layouted = layoutUtil(childNodes, childEdges, {marginx: (loopNodeWidth - maxChildWidth) / 2,marginy: 200,