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: adjust spacing in ViewHistory and Panel components (#17766)

Wu Tianwei29720b7360b8
diff --git a/web/app/components/workflow/header/view-history.tsx b/web/app/components/workflow/header/view-history.tsx
index 48053c8336b..e56731952ce 100644
--- a/web/app/components/workflow/header/view-history.tsx
+++ b/web/app/components/workflow/header/view-history.tsx
@@ -199,7 +199,7 @@ const ViewHistory = ({
item.id === historyWorkflowData?.id && 'text-primary-600',
)}
>
- {`Test ${isChatMode ? 'Chat' : 'Run'}#${item.sequence_number}`}
+ {`Test ${isChatMode ? 'Chat' : 'Run'} #${item.sequence_number}`}
</div>
<div className='flex items-center text-xs leading-[18px] text-gray-500'>
{item.created_by_account?.name} · {formatTimeFromNow((item.finished_at || item.created_at) * 1000)}
diff --git a/web/app/components/workflow/nodes/variable-assigner/panel.tsx b/web/app/components/workflow/nodes/variable-assigner/panel.tsx
index 57ecfbb1cef..1655c21b1f2 100644
--- a/web/app/components/workflow/nodes/variable-assigner/panel.tsx
+++ b/web/app/components/workflow/nodes/variable-assigner/panel.tsx
@@ -99,7 +99,7 @@ const Panel: FC<NodePanelProps<VariableAssignerNodeType>> = ({
{isEnableGroup && (
<>
<Split />
- <div className='px-4 pb-2 pt-4'>
+ <div>
<OutputVars>
<>
{inputs.advanced_settings?.groups.map((item, index) => (