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: restore full-width OAuth client settings labels (#42508)

Joele1ebd90bbee6
diff --git a/web/app/components/base/form/components/base/base-field.tsx b/web/app/components/base/form/components/base/base-field.tsx
index 7e7c2383d90..1ce1a37ab9d 100644
--- a/web/app/components/base/form/components/base/base-field.tsx
+++ b/web/app/components/base/form/components/base/base-field.tsx
@@ -295,7 +295,11 @@ const BaseField = ({
{translatedLabel || name}
</SelectLabel>
) : isSingleControl ? (
- <label id={labelId} htmlFor={controlId}>
+ <label
+ id={labelId}
+ htmlFor={controlId}
+ className={cn(isValidElement(label) && 'w-full')}
+ >
{translatedLabel || name}
</label>
) : (