[playground] Fix errors not wrapping

This commit is contained in:
Lauren Tan
2023-02-01 13:17:04 -05:00
parent c2dda028fd
commit f53318d0ba
@@ -193,12 +193,12 @@ function Output({ store, compilerOutput }: Props) {
<div className="w-full p-4 basis-full border-b">
<h2>COMPILER ERRORS</h2>
</div>
<pre
<code
className="p-4 basis-full text-red-600 overflow-x-hidden"
style={{ maxHeight: "20vh" }}
>
{compilerOutput.error.toString()}
</pre>
</code>
</div>
) : null}
</>