From bc11b0f1e8a9598d289ace9a3db5105f7b5b6703 Mon Sep 17 00:00:00 2001 From: Brock Whittaker Date: Thu, 30 Nov 2017 12:44:25 -0800 Subject: [PATCH] Revert "dark-mode: Remove unnecessary CSS and fix dark mode bugs." This reverts commit 64381b6e38a934ebe5fff43fc7caeb09a287dd6a. It turns out we actually needed this for inline code blocks to work. --- static/styles/dark.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/styles/dark.css b/static/styles/dark.css index 3677f9c20f..ea452d933e 100644 --- a/static/styles/dark.css +++ b/static/styles/dark.css @@ -288,3 +288,9 @@ body.dark-mode .top-messages-logo svg circle { fill: #fff; stroke: #fff; } + +body.dark-mode .message_content code { + background-color: hsl(212, 25%, 15%); + border-color: hsla(0, 0%, 0%, 0.5); + color: inherit; +}