From ad372c7cce1d4847b84e96039fffe438a9739b39 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Mon, 19 Aug 2024 03:20:37 +0900
Subject: fix(frontend): fix submit result layout

---
 frontend/app/components/Gaming/SubmitResult.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'frontend/app/components/Gaming/SubmitResult.tsx')

diff --git a/frontend/app/components/Gaming/SubmitResult.tsx b/frontend/app/components/Gaming/SubmitResult.tsx
index 5b08ef1..6f4cb0e 100644
--- a/frontend/app/components/Gaming/SubmitResult.tsx
+++ b/frontend/app/components/Gaming/SubmitResult.tsx
@@ -38,12 +38,12 @@ export default function SubmitResult({ result, submitButton }: Props) {
 						<div className="grow p-2">
 							<BorderedContainer>
 								<div className="font-semibold">{r.label}</div>
-								<div>
+								<pre className="overflow-y-hidden max-h-96 whitespace-pre-wrap break-words">
 									<code>
 										{r.stdout}
 										{r.stderr}
 									</code>
-								</div>
+								</pre>
 							</BorderedContainer>
 						</div>
 					</li>
-- 
cgit v1.2.3-70-g09d2

