Browse Source

Update card stat to preserve white space

master
Andrew Kingston 6 years ago
parent
commit
d0c40f060c
  1. 4
      packages/standard-components/src/CardStat.svelte

4
packages/standard-components/src/CardStat.svelte

@ -20,7 +20,6 @@
.container {
min-width: 260px;
width: max-content;
max-height: 170px;
border: 1px solid var(--grey-3);
border-radius: 0.3rem;
color: var(--blue);
@ -31,6 +30,7 @@
color: #9e9e9e;
font-weight: 500;
margin: 1rem 1.5rem 0.5rem 1.5rem;
white-space: pre-wrap;
}
.value {
@ -38,6 +38,7 @@
font-weight: 500;
margin: 0 1.5rem 1.5rem 1.5rem;
color: inherit;
white-space: pre-wrap;
}
.label {
@ -45,5 +46,6 @@
font-weight: 400;
color: #9e9e9e;
margin: 1rem 1.5rem;
white-space: pre-wrap;
}
</style>

Loading…
Cancel
Save