diff --git a/packages/app/src/components/form.fields/form-description/index.tsx b/packages/app/src/components/form.fields/form-description/index.tsx index ab17adae60..b230926f3f 100644 --- a/packages/app/src/components/form.fields/form-description/index.tsx +++ b/packages/app/src/components/form.fields/form-description/index.tsx @@ -11,7 +11,7 @@ export const FormDescription = createVirtualBox( -
+ {typeof children === 'string' && children &&
}
) })` @@ -19,6 +19,13 @@ export const FormDescription = createVirtualBox( &.ant-card { border: none; box-shadow: none; + .ant-card-head { + font-size: 16px; + background: #fafafa; + margin: 0 -24px; + padding: 4px 24px !important; + border-top: 1px solid #f0f0f0; + } p:first-child { margin-top: 14px; }