From 8b75ed36cd6d89c52c236d80ce4743850c6370ca Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 3 Jan 2018 21:19:24 +0800 Subject: [PATCH] style: fix some detail --- src/components/StandardFormRow/index.less | 3 +- src/routes/List/Articles.js | 35 ++++++++++------------- src/routes/List/Projects.js | 2 +- src/routes/List/TableList.less | 3 ++ 4 files changed, 21 insertions(+), 22 deletions(-) diff --git a/src/components/StandardFormRow/index.less b/src/components/StandardFormRow/index.less index 291d1273..d36ac596 100644 --- a/src/components/StandardFormRow/index.less +++ b/src/components/StandardFormRow/index.less @@ -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; } diff --git a/src/routes/List/Articles.js b/src/routes/List/Articles.js index 3103ab01..91fe895d 100644 --- a/src/routes/List/Articles.js +++ b/src/routes/List/Articles.js @@ -171,26 +171,21 @@ export default class SearchList extends Component { - - {getFieldDecorator('rate', {})( - - {getFieldDecorator('rate', {})( - - )} - - )} - + {getFieldDecorator('rate', {})( + + {getFieldDecorator('rate', {})( + + )} + + )} diff --git a/src/routes/List/Projects.js b/src/routes/List/Projects.js index b70eab5d..51863bf6 100644 --- a/src/routes/List/Projects.js +++ b/src/routes/List/Projects.js @@ -124,7 +124,7 @@ export default class CoverCardList extends PureComponent { grid last > - +