Browse Source

Wrap content by div

pull/24983/head
harupy 5 years ago
parent
commit
90e827af1b
  1. 6
      components/descriptions/Cell.tsx

6
components/descriptions/Cell.tsx

@ -63,7 +63,11 @@ const Cell: React.FC<CellProps> = ({
{label}
</span>
)}
{content && <span className={classNames(`${itemPrefixCls}-item-content`)}>{content}</span>}
{content && (
<span className={classNames(`${itemPrefixCls}-item-content`)}>
<div>{content}</div>
</span>
)}
</Component>
);
};

Loading…
Cancel
Save