mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
fixed #17290
This commit is contained in:
parent
543262295a
commit
657550118e
@ -100,13 +100,13 @@ const renderCol = (child: React.ReactElement<DescriptionsItemProps>, bordered: b
|
||||
];
|
||||
}
|
||||
return (
|
||||
<td
|
||||
colSpan={span}
|
||||
className={classNames(`${prefixCls}-item`, className, {
|
||||
[`${prefixCls}-item-no-label`]: !label,
|
||||
})}
|
||||
>
|
||||
<span className={`${prefixCls}-item-label`} key="label">
|
||||
<td colSpan={span} className={classNames(`${prefixCls}-item`, className)}>
|
||||
<span
|
||||
className={classNames(`${prefixCls}-item-label`, {
|
||||
[`${prefixCls}-item-no-label`]: !label,
|
||||
})}
|
||||
key="label"
|
||||
>
|
||||
{label}
|
||||
</span>
|
||||
<span className={`${prefixCls}-item-content`} key="content">
|
||||
|
Loading…
Reference in New Issue
Block a user