Commit 12ba3e1d authored by afc163's avatar afc163

Tweak style

parent 281746e0
......@@ -25,7 +25,8 @@ export default class CardList extends PureComponent {
const content = (
<div className={styles.pageHeaderContent}>
<p>段落示意蚂蚁金服务设计平台 design.alipay.com用最小的工作量无缝接入蚂蚁金服生态
<p>
段落示意蚂蚁金服务设计平台 design.alipay.com用最小的工作量无缝接入蚂蚁金服生态
提供跨越设计与开发的体验解决方案
</p>
<div className={styles.contentLink}>
......
......@@ -81,7 +81,7 @@ export default class CoverCardList extends PureComponent {
cover={<img alt={item.title} src={item.cover} />}
>
<Card.Meta
title={item.title}
title={<a href="#">{item.title}</a>}
description={item.subDescription}
/>
<div className={styles.cardItemContent}>
......
......@@ -4,8 +4,17 @@
.coverCardList {
margin-bottom: -24px;
:global {
.ant-card-meta-title > a {
color: @heading-color;
}
.ant-card:hover .ant-card-meta-title > a {
color: @primary-color;
}
.ant-card-meta-description {
color: @text-color;
height: 44px;
line-height: 22px;
overflow: hidden;
}
}
.cardItemContent {
......
......@@ -282,7 +282,7 @@ export default class SearchList extends Component {
<Card
style={{ marginTop: 24 }}
bordered={false}
bodyStyle={{ padding: '12px 24px 32px 24px' }}
bodyStyle={{ padding: '8px 32px 32px 32px' }}
>
<List
size="large"
......
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