From c8a394e0cec3ef5f16dbdb031e68cbbb224081d6 Mon Sep 17 00:00:00 2001 From: Adam P Date: Mon, 13 Feb 2023 18:33:01 +0100 Subject: [PATCH] Remove inline CSS backgrounds in a code block The lines in a `
` code block may slightly overlap. Lower parts of a line can thus be obcured by the next one. This PR removes the background of `` when it's inside a `
` which already has the same  background color set.
---
 public/question.css | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/public/question.css b/public/question.css
index 0b947ba..d0629b9 100644
--- a/public/question.css
+++ b/public/question.css
@@ -59,6 +59,10 @@ pre {
     line-height: 1.35;
 }
 
+pre code {
+    background: none;
+}
+
 .timestamp {
     color: var(--muted-text-color);
     font-size: 0.8rem;