From 35b98f3385b80506e7ec19d72e33b05a8c367cdf Mon Sep 17 00:00:00 2001 From: Mark Saroufim Date: Fri, 6 Feb 2026 20:34:45 -0800 Subject: [PATCH] Fix grey background on individual code lines in leaderboard view Override background on elements from Prism syntax highlighter theme, matching existing
 override.
---
 frontend/src/components/codeblock/CodeBlock.tsx | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/frontend/src/components/codeblock/CodeBlock.tsx b/frontend/src/components/codeblock/CodeBlock.tsx
index b905d317..3a0b3c8e 100644
--- a/frontend/src/components/codeblock/CodeBlock.tsx
+++ b/frontend/src/components/codeblock/CodeBlock.tsx
@@ -69,6 +69,9 @@ export default function CodeBlock({ code }: CodeBlockProps) {
             fontFamily: "monospace !important",
             background: "transparent !important",
           },
+          "& code": {
+            background: "transparent !important",
+          },
         }}
       >