Commit 45aa12c3 authored by afc163's avatar afc163

tweak card style

parent 12ba3e1d
......@@ -63,7 +63,7 @@ export default class CardList extends PureComponent {
dataSource={['', ...list]}
renderItem={item => (item ? (
<List.Item key={item.id}>
<Card hoverable actions={[<a>操作一</a>, <a>操作二</a>]}>
<Card actions={[<a>操作一</a>, <a>操作二</a>]}>
<Link to="/list/card-list">
<Card.Meta
avatar={<img alt="" className={styles.cardAvatar} src={item.avatar} />}
......
......@@ -215,7 +215,7 @@ export default class CoverCardList extends PureComponent {
</Form>
</Card>
<div className={styles.cardList}>
{ cardList }
{cardList}
</div>
</div>
</PageHeaderLayout>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment