@@ -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;
color: @heading-color;
+ margin-left: 8px;