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
8b75ed36
Commit
8b75ed36
authored
Jan 03, 2018
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: fix some detail
parent
d2afa15e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
22 deletions
+21
-22
index.less
src/components/StandardFormRow/index.less
+2
-1
Articles.js
src/routes/List/Articles.js
+15
-20
Projects.js
src/routes/List/Projects.js
+1
-1
TableList.less
src/routes/List/TableList.less
+3
-0
No files found.
src/components/StandardFormRow/index.less
View file @
8b75ed36
...
...
@@ -13,7 +13,8 @@
color: @text-color;
margin-right: 0;
}
.ant-form-item-label {
.ant-form-item-label,
.ant-form-item-control {
padding: 0;
line-height: 32px;
}
...
...
src/routes/List/Articles.js
View file @
8b75ed36
...
...
@@ -171,26 +171,21 @@ export default class SearchList extends Component {
<
/FormItem
>
<
/Col
>
<
Col
xl
=
{
8
}
lg
=
{
10
}
md
=
{
12
}
sm
=
{
24
}
xs
=
{
24
}
>
<
FormItem
{...
formItemLayout
}
label
=
"好评度"
>
{
getFieldDecorator
(
'rate'
,
{})(
<
FormItem
label
=
"好评度"
>
{
getFieldDecorator
(
'rate'
,
{})(
<
Select
onChange
=
{
this
.
handleFormSubmit
}
placeholder
=
"不限"
style
=
{{
maxWidth
:
200
,
width
:
'100%'
}}
>
<
Option
value
=
"good"
>
优秀
<
/Option
>
<
/Select
>
)}
<
/FormItem
>
)}
<
/FormItem
>
{
getFieldDecorator
(
'rate'
,
{})(
<
FormItem
label
=
"好评度"
>
{
getFieldDecorator
(
'rate'
,
{})(
<
Select
onChange
=
{
this
.
handleFormSubmit
}
placeholder
=
"不限"
style
=
{{
maxWidth
:
200
,
width
:
'100%'
}}
>
<
Option
value
=
"good"
>
优秀
<
/Option
>
<
/Select
>
)}
<
/FormItem
>
)}
<
/Col
>
<
/Row
>
<
/StandardFormRow
>
...
...
src/routes/List/Projects.js
View file @
8b75ed36
...
...
@@ -124,7 +124,7 @@ export default class CoverCardList extends PureComponent {
grid
last
>
<
Row
gutter
=
{
24
}
>
<
Row
gutter
=
{
16
}
>
<
Col
lg
=
{
8
}
md
=
{
10
}
sm
=
{
10
}
xs
=
{
24
}
>
<
FormItem
{...
formItemLayout
}
...
...
src/routes/List/TableList.less
View file @
8b75ed36
...
...
@@ -21,6 +21,9 @@
line-height: 32px;
padding-right: 8px;
}
.ant-form-item-control {
line-height: 32px;
}
}
.ant-form-item-control-wrapper {
flex: 1;
...
...
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