mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Tweak list grid margin
This commit is contained in:
parent
2939aea4ec
commit
92eeb7f8c9
@ -170,7 +170,7 @@ export default class List extends React.Component<ListProps> {
|
||||
);
|
||||
|
||||
let childrenContent;
|
||||
childrenContent = isLoading && (<div style={{ minHeight: 53 }} />);
|
||||
childrenContent = isLoading && <div style={{ minHeight: 53 }} />;
|
||||
if (dataSource.length > 0) {
|
||||
const items = dataSource.map((item: any, index: number) => this.renderItem(item, index));
|
||||
const childrenList = React.Children.map(items, (child: any, index) => React.cloneElement(child, {
|
||||
|
@ -196,7 +196,7 @@
|
||||
border-bottom: none;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 16px;
|
||||
&-content {
|
||||
display: block;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user