From 89f34d7942cb091144896373d4312f2e26eee6c2 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 26 Feb 2024 11:56:18 +0800 Subject: [PATCH] Use em, and hide if there's nothing in account "note" --- src/components/account-info.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/account-info.css b/src/components/account-info.css index 3f6cf3cd..8811c652 100644 --- a/src/components/account-info.css +++ b/src/components/account-info.css @@ -9,11 +9,15 @@ --original-color: var(--link-color); .note { - font-size: 95%; + font-size: 0.95em; line-height: 1.4; text-wrap: pretty; margin-bottom: 16px; + &:empty { + display: none; + } + > *:first-child { margin-top: 0; padding-top: 0;