From b918f38ec23074a1edc4504801e582eba665cf73 Mon Sep 17 00:00:00 2001 From: KevinWh0 <45321184+KevinWh0@users.noreply.github.com> Date: Wed, 13 Mar 2024 23:52:21 +0100 Subject: [PATCH] fixed --- packages/frontend/src/components/MkCode.core.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkCode.core.vue b/packages/frontend/src/components/MkCode.core.vue index f9aaf4eff3..70dd896505 100644 --- a/packages/frontend/src/components/MkCode.core.vue +++ b/packages/frontend/src/components/MkCode.core.vue @@ -77,7 +77,7 @@ watch(() => props.lang, (to) => { counter-increment: step 0; } -.codeBlockRoot :global(.shiki) > code > .line::before { +.codeBlockRoot :global(.shiki) > code > span::before { content: counter(step); counter-increment: step; width: 1rem;