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
P
pro-blocks
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
pro-blocks
Commits
bb85b06d
Commit
bb85b06d
authored
Jan 10, 2018
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some style problems
parent
c5929815
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
+10
-13
src/index.less
src/index.less
+1
-1
src/routes/List/BasicList.js
src/routes/List/BasicList.js
+4
-4
src/routes/List/BasicList.less
src/routes/List/BasicList.less
+5
-8
No files found.
src/index.less
View file @
bb85b06d
...
...
@@ -22,6 +22,6 @@ body {
// temp fix for https://github.com/ant-design/ant-design/commit/a1fafb5b727b62cb0be29ce6e9eca8f579d4f8b7
:global {
.ant-spin-container {
overflow: visible;
overflow: visible
!important
;
}
}
src/routes/List/BasicList.js
View file @
bb85b06d
...
...
@@ -60,16 +60,16 @@ export default class BasicList extends PureComponent {
const
ListContent
=
({
data
:
{
owner
,
createdAt
,
percent
,
status
}
})
=>
(
<
div
className
=
{
styles
.
listContent
}
>
<
div
>
<
div
className
=
{
styles
.
listContentItem
}
>
<
span
>
Owner
<
/span
>
<
p
>
{
owner
}
<
/p
>
<
/div
>
<
div
>
<
div
className
=
{
styles
.
listContentItem
}
>
<
span
>
开始时间
<
/span
>
<
p
>
{
moment
(
createdAt
).
format
(
'
YYYY-MM-DD hh:mm
'
)}
<
/p
>
<
/div
>
<
div
>
<
Progress
percent
=
{
percent
}
status
=
{
status
}
strokeWidth
=
{
6
}
/
>
<
div
className
=
{
styles
.
listContentItem
}
>
<
Progress
percent
=
{
percent
}
status
=
{
status
}
strokeWidth
=
{
6
}
style
=
{{
width
:
180
}}
/
>
<
/div
>
<
/div
>
);
...
...
src/routes/List/BasicList.less
View file @
bb85b06d
...
...
@@ -37,6 +37,7 @@
color: @heading-color;
font-size: 24px;
line-height: 32px;
margin: 0;
}
& > em {
background-color: @border-color-split;
...
...
@@ -49,25 +50,21 @@
}
.listContent {
font-size: 0;
& > div
{
.listContentItem
{
color: @text-color-secondary;
display: inline-block;
vertical-align: middle;
font-size: @font-size-base;
margin-left: 40px;
&
> span {
> span {
line-height: 20px;
}
&
> p {
> p {
margin-top: 4px;
margin-bottom: 0;
line-height: 22px;
}
}
& > div:last-child {
position: relative;
top: -16px;
width: 188px;
}
}
.extraContentSearch {
margin-left: 16px;
...
...
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