Use em, and hide if there's nothing in account "note"

This commit is contained in:
Lim Chee Aun 2024-02-26 11:56:18 +08:00
parent f23e4b0dd9
commit 89f34d7942

View file

@ -9,11 +9,15 @@
--original-color: var(--link-color); --original-color: var(--link-color);
.note { .note {
font-size: 95%; font-size: 0.95em;
line-height: 1.4; line-height: 1.4;
text-wrap: pretty; text-wrap: pretty;
margin-bottom: 16px; margin-bottom: 16px;
&:empty {
display: none;
}
> *:first-child { > *:first-child {
margin-top: 0; margin-top: 0;
padding-top: 0; padding-top: 0;