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: prevent the exit versions button from shrinking (#41527)

Joelf021ee4dc0ce
diff --git a/web/features/agent-v2/agent-detail/configure/components/orchestrate/publish-bar/index.tsx b/web/features/agent-v2/agent-detail/configure/components/orchestrate/publish-bar/index.tsx
index d1fcfb76586..a04a731b2e8 100644
--- a/web/features/agent-v2/agent-detail/configure/components/orchestrate/publish-bar/index.tsx
+++ b/web/features/agent-v2/agent-detail/configure/components/orchestrate/publish-bar/index.tsx
@@ -471,7 +471,7 @@ function AgentVersionRestoreBar({
<Button
type="button"
variant="secondary"
- className="h-8 rounded-lg px-3 text-text-accent"
+ className="h-8 shrink-0 rounded-lg px-3 text-text-accent"
onClick={onExitVersions}
>
<span aria-hidden className="i-ri-arrow-go-back-line size-4 shrink-0" />