From eb97e721d115416a72e54ca7694ea9d1ac1f21f0 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 23 Mar 2024 18:42:38 +0100 Subject: [PATCH] Align callout icons with the callout text Adjust some CSS so that callout/attention icons line up better with the text of the attention header. Signed-off-by: Gergely Nagy --- web_src/css/base.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 098933e57..895d77313 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1230,8 +1230,12 @@ input:-webkit-autofill:active, color: var(--color-text) !important; } +.attention-header :first-child { + display: flex; +} + .attention-icon { - margin: 2px 6px 0 0; + margin: auto 0.5em auto 0; } blockquote.attention-note {