diff --git a/packages/frontend/src/components/MkCode.core.vue b/packages/frontend/src/components/MkCode.core.vue index f9aaf4eff3e8fb90adb3699af98a5ff614e8d860..70dd8965051b740f39b1577c4a438ada00f6795e 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;