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): preserve plugin footer text layout (#41514)

Jingyi02222e8fcebc
diff --git a/web/app/components/integrations/tool-provider-card.tsx b/web/app/components/integrations/tool-provider-card.tsx
index f6aca486a20..27dc904c968 100644
--- a/web/app/components/integrations/tool-provider-card.tsx
+++ b/web/app/components/integrations/tool-provider-card.tsx
@@ -131,13 +131,13 @@ function IntegrationsToolProviderCard({
<div className="flex h-4 min-w-0 flex-1 items-center gap-0.5 system-xs-regular">
{!!org && (
<>
- <div className="min-w-0 flex-1 truncate text-text-tertiary" title={org}>
+ <div className="min-w-0 shrink truncate text-text-tertiary" title={org}>
{org}
</div>
<div className="shrink-0 text-text-quaternary">/</div>
</>
)}
- <div className="min-w-0 flex-1 truncate text-text-tertiary" title={name}>
+ <div className="min-w-0 shrink truncate text-text-tertiary" title={name}>
{name}
</div>
</div>
diff --git a/web/app/components/plugins/card/base/org-info.tsx b/web/app/components/plugins/card/base/org-info.tsx
index 2d9ef6ce036..9989cd454cb 100644
--- a/web/app/components/plugins/card/base/org-info.tsx
+++ b/web/app/components/plugins/card/base/org-info.tsx
@@ -13,7 +13,7 @@ const OrgInfo = ({ className, orgName, packageName, packageNameClassName }: Prop
{orgName && (
<>
<span
- className="min-w-0 flex-1 truncate system-xs-regular text-text-tertiary"
+ className="min-w-0 shrink truncate system-xs-regular text-text-tertiary"
title={orgName}
>
{orgName}
@@ -23,7 +23,7 @@ const OrgInfo = ({ className, orgName, packageName, packageNameClassName }: Prop
)}
<span
className={cn(
- 'w-0 min-w-0 grow truncate system-xs-regular text-text-tertiary',
+ 'min-w-0 shrink truncate system-xs-regular text-text-tertiary',
packageNameClassName,
)}
title={packageName}