fix: adjust padding in AgentNode and NodeComponent for consistent layout (#28175)

This commit is contained in:
GuanMu
2025-11-13 20:16:56 +08:00
committed by GitHub
parent 4f4911686d
commit 470883858e
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ const AgentNode: FC<NodeProps<AgentNodeType>> = (props) => {
})
return tools
}, [currentStrategy?.parameters, inputs.agent_parameters])
return <div className='mb-1 space-y-1 px-3 py-1'>
return <div className='mb-1 space-y-1 px-3'>
{inputs.agent_strategy_name
? <SettingItem
label={t('workflow.nodes.agent.strategy.shortLabel')}