Override HLJS selectors from Sourcegraph
What does this MR do and why?
Leaked global styles from Sourcegraph conflict with Highlight.js syntax highlighting in some themes (upstream issue).
This temporary measure overrides the leaked styles.
Screenshots or screen recordings
None
before | after |
---|---|
Solarized Dark
before | after |
---|---|
Monaco
before | after |
---|---|
How to set up and validate locally
- Enable `highlight_js
- Setup Sourcegraph
- View a Source file
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #365167 (closed)
Edited by Jacques Erasmus