Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(web): adjust HTTP node method and input layout (#21834) (#21855)

HyaCintha3654c8fe992
diff --git a/web/app/components/workflow/nodes/http/node.tsx b/web/app/components/workflow/nodes/http/node.tsx
index ad4b5f58ff1..aa1912bd598 100644
--- a/web/app/components/workflow/nodes/http/node.tsx
+++ b/web/app/components/workflow/nodes/http/node.tsx
@@ -13,7 +13,7 @@ const Node: FC<NodeProps<HttpNodeType>> = ({
return (
<div className='mb-1 px-3 py-1'>
- <div className='flex items-start rounded-md bg-workflow-block-parma-bg p-1'>
+ <div className='flex items-center justify-start rounded-md bg-workflow-block-parma-bg p-1'>
<div className='flex h-4 shrink-0 items-center rounded bg-components-badge-white-to-dark px-1 text-xs font-semibold uppercase text-text-secondary'>{method}</div>
<div className='pl-1 pt-1'>
<ReadonlyInputWithSelectVar