Commit 128e780c authored by afc163's avatar afc163

Fix Chart Card field style

parent cdf711da
......@@ -4,8 +4,8 @@ import styles from './index.less';
const Field = ({ label, value, ...rest }) => (
<div className={styles.field} {...rest}>
<span>{label}</span>
<span>{value}</span>
<span className={styles.label}>{label}</span>
<span className={styles.number}>{value}</span>
</div>
);
......
......@@ -5,12 +5,13 @@
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
span {
.label,
.number {
font-size: @font-size-base;
line-height: 22px;
}
span:last-child {
margin-left: 8px;
.number {
color: @heading-color;
margin-left: 8px;
}
}
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