aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/Gaming/CodeBlock.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-19 04:12:48 +0900
committernsfisis <nsfisis@gmail.com>2024-08-19 04:12:48 +0900
commitf662c0832f1f7f45a4e1a926f3ec5a1d21e80fa7 (patch)
tree86d84d797e1b3672868fc78ac7ca4a1ea6a7fcff /frontend/app/components/Gaming/CodeBlock.tsx
parent293a88e35bff458df5dc42efd690b3edf154f661 (diff)
downloadiosdc-japan-2024-albatross-f662c0832f1f7f45a4e1a926f3ec5a1d21e80fa7.tar.gz
iosdc-japan-2024-albatross-f662c0832f1f7f45a4e1a926f3ec5a1d21e80fa7.tar.zst
iosdc-japan-2024-albatross-f662c0832f1f7f45a4e1a926f3ec5a1d21e80fa7.zip
feat(frontend): adjust style of submit result
Diffstat (limited to 'frontend/app/components/Gaming/CodeBlock.tsx')
-rw-r--r--frontend/app/components/Gaming/CodeBlock.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/app/components/Gaming/CodeBlock.tsx b/frontend/app/components/Gaming/CodeBlock.tsx
index fc14b63..b7d45c0 100644
--- a/frontend/app/components/Gaming/CodeBlock.tsx
+++ b/frontend/app/components/Gaming/CodeBlock.tsx
@@ -13,7 +13,7 @@ export default function CodeBlock({ code, language }: Props) {
const highlighted = highlight(code, languages[language]!, language);
return (
- <pre className="h-full w-full p-2 bg-white rounded-lg border border-gray-300 whitespace-pre-wrap break-words">
+ <pre className="h-full w-full p-2 bg-gray-50 rounded-lg border border-gray-300 whitespace-pre-wrap break-words">
<code dangerouslySetInnerHTML={{ __html: highlighted }} />
</pre>
);