Closed flourish86 closed 3 years ago
Please include what to optimize.
.key
and .value
should either be aligned to baseline (1) or we should use the same font-size
s as in the custom vars table (2).
Also the colon (:) can be left out, since key and value are differentiated by font style.
This would solve option (1):
.icinga-module.module-icingadb .check-statistics .card-footer .key {
…
align-self: baseline;
line-height: calc(1/.83333333 * 1.5);
}
The font-sizes follow the same rules as the vertical-key-value widgets. It's just a horizontal-key-value now.
The colon cannot be left out. It's a structural element, not a style element. And style is not structural. In the downtime list items we also didn't just remove the colon but replaced it with a semantically correct conjunction (for
).
The titles for downtimes is something completely different, because list item titles are meant to be full sentences.
This looks perfect to me.
Compared to this
because list item titles are meant to be full sentences.
And that is this exactly not, a full sentence, hence the colon.