diff --git a/src/index.less b/src/index.less index a470161f3272fa0bfc6f143af9055ca3a31cdd45..98651b12ef14fa457b236b9ec83f6949ba072ffb 100644 --- a/src/index.less +++ b/src/index.less @@ -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; } } diff --git a/src/routes/List/BasicList.js b/src/routes/List/BasicList.js index d7cab41574270a6381e1ede9aa81bb255ad8e8d5..088492354e52cf39a9a65ee9705c16892e2d43b5 100644 --- a/src/routes/List/BasicList.js +++ b/src/routes/List/BasicList.js @@ -60,16 +60,16 @@ export default class BasicList extends PureComponent { const ListContent = ({ data: { owner, createdAt, percent, status } }) => (
-
+
Owner

{owner}

-
+
开始时间

{moment(createdAt).format('YYYY-MM-DD hh:mm')}

-
- +
+
); diff --git a/src/routes/List/BasicList.less b/src/routes/List/BasicList.less index 236793e32ea9d8509531c16db9ca80311fe58bb2..39457dc9e583a6ba5946daa8d218e6be6134da14 100644 --- a/src/routes/List/BasicList.less +++ b/src/routes/List/BasicList.less @@ -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;