From 80eba652979538a20d956e031fb84f3047289cad Mon Sep 17 00:00:00 2001 From: Rezn1r Date: Sun, 2 Aug 2026 01:16:43 +0800 Subject: [PATCH] fix: align VPBadge to headings --- docs/.vitepress/theme/theme.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/.vitepress/theme/theme.css b/docs/.vitepress/theme/theme.css index d0edd206e..0e16a951f 100644 --- a/docs/.vitepress/theme/theme.css +++ b/docs/.vitepress/theme/theme.css @@ -29,3 +29,12 @@ .vp-doc img { border-radius: 12px; } + +.vp-doc h1 .VPBadge, +.vp-doc h2 .VPBadge, +.vp-doc h3 .VPBadge, +.vp-doc h4 .VPBadge, +.vp-doc h5 .VPBadge, +.vp-doc h6 .VPBadge { + vertical-align: middle; +}