From 6b6059305a45d95d6f28ce479614856e7fc67447 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 15 Mar 2023 17:17:41 +0800 Subject: [PATCH] fix: update css for new header anchor rendering --- src/core/styles/vt-doc-base.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/styles/vt-doc-base.css b/src/core/styles/vt-doc-base.css index 6a50e56..bfc82b6 100644 --- a/src/core/styles/vt-doc-base.css +++ b/src/core/styles/vt-doc-base.css @@ -64,6 +64,10 @@ transition: color 0.25s, opacity 0.25s; } +.vt-doc .header-anchor:before { + content: '#'; +} + .vt-doc h1:hover .header-anchor, .vt-doc h1 .header-anchor:focus, .vt-doc h2:hover .header-anchor,