Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
ba310412
Commit
ba310412
authored
Oct 26, 2017
by
ddcat1115
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update style for profile and DescriptionList
parent
348c62be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
src/components/DescriptionList/index.less
src/components/DescriptionList/index.less
+10
-1
src/routes/Profile/AdvancedProfile.js
src/routes/Profile/AdvancedProfile.js
+5
-5
No files found.
src/components/DescriptionList/index.less
View file @
ba310412
...
...
@@ -17,6 +17,7 @@
}
.term {
line-height: 22px;
padding-bottom: 16px;
margin-right: 8px;
color: @heading-color;
...
...
@@ -32,6 +33,7 @@
}
.detail {
line-height: 22px;
width: 100%;
padding-bottom: 16px;
color: @text-color;
...
...
@@ -52,10 +54,17 @@
}
.descriptionListSmall {
// offset the padding-bottom of last row
:global {
.ant-row {
margin-bottom: -8px;
}
}
.title {
margin-bottom: 12px;
color: @text-color;
}
.term {
.term
, .detail
{
padding-bottom: 8px;
}
}
...
...
src/routes/Profile/AdvancedProfile.js
View file @
ba310412
...
...
@@ -90,7 +90,7 @@ const popoverContent = (
<
div
style
=
{{
width
:
160
}}
>
吴加号
<
span
className
=
{
styles
.
textSecondary
}
style
=
{{
float
:
'
right
'
}}
>
<
Badge
status
=
"
default
"
text
=
"
未响应
"
/>
<
Badge
status
=
"
default
"
text
=
{
<
span
style
=
{{
color
:
'
rgba(0, 0, 0, 0.45)
'
}}
>
未响应
<
/span>}
/
>
<
/span
>
<
p
className
=
{
styles
.
textSecondary
}
style
=
{{
marginTop
:
4
}}
>
耗时
:
2
小时25分钟
<
/p
>
<
/div
>
...
...
@@ -260,14 +260,14 @@ export default class AdvancedProfile extends Component {
<
Description
term
=
"
过期时间
"
>
2017
-
08
-
08
<
/Description
>
<
Description
term
=
"
描述
"
>
这段描述很长很长很长很长很长很长很长很长很长很长很长很长很长很长
...
<
/Description
>
<
/DescriptionList
>
<
Divider
style
=
{{
margin
Bottom
:
16
}}
/
>
<
DescriptionList
style
=
{{
marginBottom
:
16
}}
title
=
"
组名称
"
col
=
"
1
"
>
<
Divider
style
=
{{
margin
:
'
16px 0
'
}}
/
>
<
DescriptionList
s
ize
=
"
small
"
s
tyle
=
{{
marginBottom
:
16
}}
title
=
"
组名称
"
col
=
"
1
"
>
<
Description
term
=
"
学名
"
>
Citrullus
lanatus
(
Thunb
.)
Matsum
.
et
Nakai一年生蔓生藤本
;
茎
、
枝粗壮
,
具明显的棱
。
卷须较粗
..
<
/Description
>
<
/DescriptionList
>
<
Divider
style
=
{{
margin
Bottom
:
16
}}
/
>
<
DescriptionList
title
=
"
组名称
"
>
<
Divider
style
=
{{
margin
:
'
16px 0
'
}}
/
>
<
DescriptionList
size
=
"
small
"
title
=
"
组名称
"
>
<
Description
term
=
"
负责人
"
>
付小小
<
/Description
>
<
Description
term
=
"
角色码
"
>
1234568
<
/Description
>
<
/DescriptionList
>
...
...
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