diff --git a/packages/react-descriptions/src/index.tsx b/packages/react-descriptions/src/index.tsx index 861a748395..e53e8f5b50 100644 --- a/packages/react-descriptions/src/index.tsx +++ b/packages/react-descriptions/src/index.tsx @@ -84,7 +84,7 @@ function InternalDescriptions(props: DescriptionsProps, ref: React.ForwardedRef<
{title && } - + {childs.map((child, index) => ( {child} diff --git a/packages/react-descriptions/src/style/index.less b/packages/react-descriptions/src/style/index.less index 91578bc580..e9658ba472 100644 --- a/packages/react-descriptions/src/style/index.less +++ b/packages/react-descriptions/src/style/index.less @@ -20,6 +20,9 @@ font-size: 16px; line-height: 1.5; } + &-tbody { + word-wrap: break-word; + } & &-row:nth-child(2n) { background-color: transparent; }
{title}