Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ant-design-pro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thiago Borges
ant-design-pro
Commits
12ba3e1d
Commit
12ba3e1d
authored
Oct 26, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak style
parent
281746e0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
3 deletions
+13
-3
CardList.js
src/routes/List/CardList.js
+2
-1
CoverCardList.js
src/routes/List/CoverCardList.js
+1
-1
CoverCardList.less
src/routes/List/CoverCardList.less
+9
-0
SearchList.js
src/routes/List/SearchList.js
+1
-1
No files found.
src/routes/List/CardList.js
View file @
12ba3e1d
...
@@ -25,7 +25,8 @@ export default class CardList extends PureComponent {
...
@@ -25,7 +25,8 @@ export default class CardList extends PureComponent {
const
content
=
(
const
content
=
(
<
div
className
=
{
styles
.
pageHeaderContent
}
>
<
div
className
=
{
styles
.
pageHeaderContent
}
>
<
p
>
段落示意:蚂蚁金服务设计平台
design
.
alipay
.
com
,用最小的工作量,无缝接入蚂蚁金服生态,
<
p
>
段落示意:蚂蚁金服务设计平台
design
.
alipay
.
com
,用最小的工作量,无缝接入蚂蚁金服生态,
提供跨越设计与开发的体验解决方案。
提供跨越设计与开发的体验解决方案。
<
/p
>
<
/p
>
<
div
className
=
{
styles
.
contentLink
}
>
<
div
className
=
{
styles
.
contentLink
}
>
...
...
src/routes/List/CoverCardList.js
View file @
12ba3e1d
...
@@ -81,7 +81,7 @@ export default class CoverCardList extends PureComponent {
...
@@ -81,7 +81,7 @@ export default class CoverCardList extends PureComponent {
cover
=
{
<
img
alt
=
{
item
.
title
}
src
=
{
item
.
cover
}
/>
}
cover
=
{
<
img
alt
=
{
item
.
title
}
src
=
{
item
.
cover
}
/>
}
>
>
<
Card
.
Meta
<
Card
.
Meta
title
=
{
item
.
title
}
title
=
{
<
a
href
=
"#"
>
{
item
.
title
}
<
/a>
}
description
=
{
item
.
subDescription
}
description
=
{
item
.
subDescription
}
/
>
/
>
<
div
className
=
{
styles
.
cardItemContent
}
>
<
div
className
=
{
styles
.
cardItemContent
}
>
...
...
src/routes/List/CoverCardList.less
View file @
12ba3e1d
...
@@ -4,8 +4,17 @@
...
@@ -4,8 +4,17 @@
.coverCardList {
.coverCardList {
margin-bottom: -24px;
margin-bottom: -24px;
:global {
:global {
.ant-card-meta-title > a {
color: @heading-color;
}
.ant-card:hover .ant-card-meta-title > a {
color: @primary-color;
}
.ant-card-meta-description {
.ant-card-meta-description {
color: @text-color;
color: @text-color;
height: 44px;
line-height: 22px;
overflow: hidden;
}
}
}
}
.cardItemContent {
.cardItemContent {
...
...
src/routes/List/SearchList.js
View file @
12ba3e1d
...
@@ -282,7 +282,7 @@ export default class SearchList extends Component {
...
@@ -282,7 +282,7 @@ export default class SearchList extends Component {
<
Card
<
Card
style
=
{{
marginTop
:
24
}}
style
=
{{
marginTop
:
24
}}
bordered
=
{
false
}
bordered
=
{
false
}
bodyStyle
=
{{
padding
:
'
12px 24px 32px 24
px'
}}
bodyStyle
=
{{
padding
:
'
8px 32px 32px 32
px'
}}
>
>
<
List
<
List
size
=
"large"
size
=
"large"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment