Update card stat to preserve white space

This commit is contained in:
Andrew Kingston 2021-02-23 10:15:40 +00:00
parent d5a37c535e
commit 8ed2be5594
1 changed files with 3 additions and 1 deletions

View File

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