fix(theme-classic): properly highlight code block line numbers (#7341)

This commit is contained in:
Joshua Chen 2022-05-05 18:07:46 +08:00 committed by GitHub
parent 8f80f6c0b2
commit 49a9f0345c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ the background in custom CSS file due bug https://github.com/facebook/docusaurus
opacity: 0.4;
}
.highlightedCodeLine .codeLineNumber::before {
:global(.theme-code-block-highlighted-line) .codeLineNumber::before {
opacity: 0.8;
}