aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/Gaming/CodeBlock.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-19 03:20:37 +0900
committernsfisis <nsfisis@gmail.com>2024-08-19 03:20:37 +0900
commitad372c7cce1d4847b84e96039fffe438a9739b39 (patch)
treecf0298df9a5a700ce902095cab0f2c2e1f06a030 /frontend/app/components/Gaming/CodeBlock.tsx
parent98974136648935143298c0e0a01714bb146909f1 (diff)
downloadiosdc-japan-2024-albatross-ad372c7cce1d4847b84e96039fffe438a9739b39.tar.gz
iosdc-japan-2024-albatross-ad372c7cce1d4847b84e96039fffe438a9739b39.tar.zst
iosdc-japan-2024-albatross-ad372c7cce1d4847b84e96039fffe438a9739b39.zip
fix(frontend): fix submit result layout
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 bca8727..fc14b63 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 resize-none">
+ <pre className="h-full w-full p-2 bg-white rounded-lg border border-gray-300 whitespace-pre-wrap break-words">
<code dangerouslySetInnerHTML={{ __html: highlighted }} />
</pre>
);