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: incorrect form field height of input modal (#32557)

非法操作48f6b2e885eb
diff --git a/web/app/components/app/configuration/config-var/config-modal/field.tsx b/web/app/components/app/configuration/config-var/config-modal/field.tsx
index deeb24f5341..ba1a367f89c 100644
--- a/web/app/components/app/configuration/config-var/config-modal/field.tsx
+++ b/web/app/components/app/configuration/config-var/config-modal/field.tsx
@@ -20,10 +20,10 @@ const Field: FC<Props> = ({
const { t } = useTranslation()
return (
<div className={cn(className)}>
- <div className="system-sm-semibold leading-8 text-text-secondary">
+ <div className="!leading-8 text-text-secondary system-sm-semibold">
{title}
{isOptional && (
- <span className="system-xs-regular ml-1 text-text-tertiary">
+ <span className="ml-1 text-text-tertiary system-xs-regular">
(
{t('variableConfig.optional', { ns: 'appDebug' })}
)
diff --git a/web/eslint-suppressions.json b/web/eslint-suppressions.json
index d142f1c5562..7182bc246c7 100644
--- a/web/eslint-suppressions.json
+++ b/web/eslint-suppressions.json
@@ -560,11 +560,6 @@
"count": 3
}
},
- "app/components/app/configuration/config-var/config-modal/field.tsx": {
- "tailwindcss/enforce-consistent-class-order": {
- "count": 2
- }
- },
"app/components/app/configuration/config-var/config-modal/index.tsx": {
"tailwindcss/enforce-consistent-class-order": {
"count": 2