Skip to content

Commit fbf2853

Browse files
committed
fix overflow for long output lines
1 parent be22b41 commit fbf2853

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
15 Bytes
Binary file not shown.

examples/server/webui/src/components/CanvasPyInterpreter.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default function CanvasPyInterpreter() {
7474
<div className="card bg-base-200 w-full h-full shadow-xl">
7575
<div className="card-body">
7676
<div className="flex justify-between items-center mb-4">
77-
<span className="text-lg font-bold">Pyodide</span>
77+
<span className="text-lg font-bold">Python Interpreter</span>
7878
<XCloseButton
7979
className="bg-base-100"
8080
onClick={() => setCanvasData(null)}
@@ -102,7 +102,7 @@ export default function CanvasPyInterpreter() {
102102
{running ? 'Running...' : 'Run'}
103103
</button>
104104
</div>
105-
<pre className="bg-slate-900 rounded-md grow text-gray-200 p-3">
105+
<pre className="bg-slate-900 rounded-md grow text-gray-200 p-3 whitespace-pre-wrap overflow-auto">
106106
{output}
107107
</pre>
108108
</div>

0 commit comments

Comments
 (0)