From 7f27c09704432f284b999aaa4c102a4f1a9d1c13 Mon Sep 17 00:00:00 2001 From: Vaibhav Date: Fri, 22 Mar 2019 21:52:30 +0530 Subject: [PATCH] markdown: Add rendered_content selector to night-mode syntax highlight. This adds a parent selector, `rendered_content`, to night mode syntax lighlight selector. This helps us in getting the "day mode" syntax highlight styles in night mode. --- static/styles/pygments.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/styles/pygments.scss b/static/styles/pygments.scss index 43090b29d7..3d290787a0 100644 --- a/static/styles/pygments.scss +++ b/static/styles/pygments.scss @@ -213,7 +213,7 @@ /* Syntx Highlighting for night-mode */ -body.night-mode { +body.night-mode .rendered_markdown { .codehilite code, .codehilite pre {