merge: Fixed broken line numbers (!471)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/471

Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Luna <her@mint.lgbt>
This commit is contained in:
Luna 2024-03-14 01:36:46 +00:00
commit d003c3ec1f

View file

@ -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;