diff --git a/packages/descriptions/src/index.tsx b/packages/descriptions/src/index.tsx index f95c7ee8a6aa..bc3295742433 100644 --- a/packages/descriptions/src/index.tsx +++ b/packages/descriptions/src/index.tsx @@ -231,7 +231,7 @@ export const FieldRender: React.FC< ) : undefined; return ( - +
, deleteText: false, })} - +
) as React.ReactNode; }; diff --git a/tests/descriptions/__snapshots__/editor.test.tsx.snap b/tests/descriptions/__snapshots__/editor.test.tsx.snap index 4205925679cb..a88cbd6c5fa1 100644 --- a/tests/descriptions/__snapshots__/editor.test.tsx.snap +++ b/tests/descriptions/__snapshots__/editor.test.tsx.snap @@ -27,129 +27,110 @@ exports[`Descriptions 📝 columns support editable test 1`] = ` style="margin: -5px 0px -5px 0px;" >
-
+ - - + + -
+
- -
@@ -204,129 +185,110 @@ exports[`Descriptions 📝 renderFormItem run defaultRender 1`] = ` style="margin: -5px 0px -5px 0px;" >
-
+ - - + + -
+
- -