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): tighten start block preview card spacing (#37379)

yyh800bfc988efb
diff --git a/web/app/components/workflow/block-selector/start-blocks.tsx b/web/app/components/workflow/block-selector/start-blocks.tsx
index dbd0129fd18..98be2954312 100644
--- a/web/app/components/workflow/block-selector/start-blocks.tsx
+++ b/web/app/components/workflow/block-selector/start-blocks.tsx
@@ -210,7 +210,7 @@ function StartBlockPreviewCard({
].includes(block.type)
return (
- <PreviewCardContent placement="right" popupClassName="w-[224px] px-3 pt-3 pb-4">
+ <PreviewCardContent placement="right" popupClassName="w-[224px] px-3 pt-3 pb-2.5">
<div>
<BlockIcon
size="md"
@@ -224,7 +224,7 @@ function StartBlockPreviewCard({
{description}
</div>
{showDifyTeamAuthor && (
- <div className="my-1 system-xs-regular text-text-tertiary">
+ <div className="mt-1 system-xs-regular text-text-tertiary">
{t('author', { ns: 'tools' })}
{' '}
{t('difyTeam', { ns: 'workflow' })}