mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Fix extra wrapper of Card children, close #9226
This commit is contained in:
parent
26b58a9808
commit
7a33a9e5d5
@ -180,7 +180,7 @@ export default class Card extends React.Component<CardProps, {}> {
|
||||
const coverDom = cover ? <div className={`${prefixCls}-cover`}>{cover}</div> : null;
|
||||
const body = (
|
||||
<div className={`${prefixCls}-body`} style={bodyStyle}>
|
||||
{loading ? loadingBlock : <div>{children}</div>}
|
||||
{loading ? loadingBlock : children}
|
||||
</div>
|
||||
);
|
||||
const actionDom = actions && actions.length ?
|
||||
|
Loading…
Reference in New Issue
Block a user