@@ -48,9 +48,9 @@ const StaticLogViewer = ({ submissionId, containerId }: { submissionId: string,
4848 </ div >
4949 < div
5050 ref = { logContainerRef }
51- className = "font-mono text-xs bg-muted rounded-md h-96 overflow-y-auto p-4"
51+ className = "font-mono text-xs bg-muted rounded-md h-[60vh] overflow-y-auto p-4"
5252 >
53- { isLoading && < Skeleton className = "h-full w-full" /> }
53+ { isLoading && < Skeleton className = "h-[60vh] w-full" /> }
5454 { error && < p className = "text-red-400" > Failed to load log.</ p > }
5555 { messages . length > 0 && messages . map ( ( msg , index ) => (
5656 < span key = { index } className = "whitespace-pre-wrap break-all" >
@@ -120,7 +120,7 @@ const RealtimeLogViewer = ({ wsUrl, onStatusUpdate }: { wsUrl: string | null, on
120120 </ div >
121121 < div
122122 ref = { logContainerRef }
123- className = "font-mono text-xs bg-muted rounded-md h-96 overflow-y-auto p-4"
123+ className = "font-mono text-xs bg-muted rounded-md h-[60vh] overflow-y-auto p-4"
124124 >
125125 { messages . length === 0 && < p className = "text-muted-foreground" > Waiting for judge output...</ p > }
126126 { messages . map ( ( msg , index ) => (
@@ -164,7 +164,7 @@ export function SubmissionLogViewer({ submission, problem, onStatusUpdate }: Sub
164164
165165 if ( submission . containers . length === 0 ) {
166166 return (
167- < div className = "font-mono text-xs bg-muted rounded-md h-96 overflow-y-auto p-4 text-muted-foreground flex items-center justify-center" >
167+ < div className = "font-mono text-xs bg-muted rounded-md h-[60vh] overflow-y-auto p-4 text-muted-foreground flex items-center justify-center" >
168168 Submission is in queue. No logs to display yet.
169169 </ div >
170170 ) ;
@@ -199,7 +199,7 @@ export function SubmissionLogViewer({ submission, problem, onStatusUpdate }: Sub
199199 return (
200200 < TabsContent key = { container . id } value = { container . id } className = "mt-4" >
201201 { ! canShow ? (
202- < div className = "font-mono text-xs bg-muted rounded-md h-96 overflow-y-auto p-4 text-muted-foreground flex items-center justify-center" >
202+ < div className = "font-mono text-xs bg-muted rounded-md h-[60vh] overflow-y-auto p-4 text-muted-foreground flex items-center justify-center" >
203203 Log for this step is hidden by the problem author.
204204 </ div >
205205 ) : isRunning ? (
0 commit comments