From fdb6ee120a3d43494c48146c1cb202c22a67e4c2 Mon Sep 17 00:00:00 2001 From: Z8MB1E Date: Wed, 30 Sep 2026 18:42:48 -0400 Subject: [PATCH] fix(wiki): vertically center callout icons The note and warning icons were pinned at a fixed top offset and drifted off the text line inside short callouts. They now center vertically in the callout box. --- src/app/(frontend)/styles.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app/(frontend)/styles.css b/src/app/(frontend)/styles.css index 0f5e037..5862b92 100644 --- a/src/app/(frontend)/styles.css +++ b/src/app/(frontend)/styles.css @@ -541,17 +541,16 @@ margin-top: 0; } -.wiki-markdown .note .callout-icon { +.wiki-markdown .note .callout-icon, +.wiki-markdown .warning .callout-icon { position: absolute; left: 0.75rem; - top: 1.125rem; + top: 50%; + transform: translateY(-50%); color: var(--color-primary); } .wiki-markdown .warning .callout-icon { - position: absolute; - left: 0.75rem; - top: 1.125rem; color: var(--color-destructive); }