Commit bb85b06d authored by afc163's avatar afc163

Fix some style problems

parent c5929815
...@@ -22,6 +22,6 @@ body { ...@@ -22,6 +22,6 @@ body {
// temp fix for https://github.com/ant-design/ant-design/commit/a1fafb5b727b62cb0be29ce6e9eca8f579d4f8b7 // temp fix for https://github.com/ant-design/ant-design/commit/a1fafb5b727b62cb0be29ce6e9eca8f579d4f8b7
:global { :global {
.ant-spin-container { .ant-spin-container {
overflow: visible; overflow: visible !important;
} }
} }
...@@ -60,16 +60,16 @@ export default class BasicList extends PureComponent { ...@@ -60,16 +60,16 @@ export default class BasicList extends PureComponent {
const ListContent = ({ data: { owner, createdAt, percent, status } }) => ( const ListContent = ({ data: { owner, createdAt, percent, status } }) => (
<div className={styles.listContent}> <div className={styles.listContent}>
<div> <div className={styles.listContentItem}>
<span>Owner</span> <span>Owner</span>
<p>{owner}</p> <p>{owner}</p>
</div> </div>
<div> <div className={styles.listContentItem}>
<span>开始时间</span> <span>开始时间</span>
<p>{moment(createdAt).format('YYYY-MM-DD hh:mm')}</p> <p>{moment(createdAt).format('YYYY-MM-DD hh:mm')}</p>
</div> </div>
<div> <div className={styles.listContentItem}>
<Progress percent={percent} status={status} strokeWidth={6} /> <Progress percent={percent} status={status} strokeWidth={6} style={{ width: 180 }} />
</div> </div>
</div> </div>
); );
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
color: @heading-color; color: @heading-color;
font-size: 24px; font-size: 24px;
line-height: 32px; line-height: 32px;
margin: 0;
} }
& > em { & > em {
background-color: @border-color-split; background-color: @border-color-split;
...@@ -49,25 +50,21 @@ ...@@ -49,25 +50,21 @@
} }
.listContent { .listContent {
font-size: 0; font-size: 0;
& > div { .listContentItem {
color: @text-color-secondary; color: @text-color-secondary;
display: inline-block; display: inline-block;
vertical-align: middle;
font-size: @font-size-base; font-size: @font-size-base;
margin-left: 40px; margin-left: 40px;
& > span { > span {
line-height: 20px; line-height: 20px;
} }
& > p { > p {
margin-top: 4px; margin-top: 4px;
margin-bottom: 0; margin-bottom: 0;
line-height: 22px; line-height: 22px;
} }
} }
& > div:last-child {
position: relative;
top: -16px;
width: 188px;
}
} }
.extraContentSearch { .extraContentSearch {
margin-left: 16px; margin-left: 16px;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment