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): prevent compliance download actions from shrinking (#42515)

yyhf12a87673086
diff --git a/web/app/components/header/account-dropdown/compliance.tsx b/web/app/components/header/account-dropdown/compliance.tsx
index 7e8ebdc5ce4..5965aae4afd 100644
--- a/web/app/components/header/account-dropdown/compliance.tsx
+++ b/web/app/components/header/account-dropdown/compliance.tsx
@@ -57,7 +57,10 @@ function ComplianceDocActionVisual({
}: ComplianceDocActionVisualProps) {
if (isCurrentPlanCanDownload) {
return (
- <span data-disabled={isPending || undefined} className={buttonVariants({ size: 'small' })}>
+ <span
+ data-disabled={isPending || undefined}
+ className={buttonVariants({ size: 'small', className: 'shrink-0' })}
+ >
<span
aria-hidden
className="i-ri-arrow-down-circle-line size-3.5 text-components-button-secondary-text-disabled"