mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[playground] Fix compiler errors being cut off
This commit is contained in:
@@ -195,7 +195,7 @@ function Output({ store, compilerOutput }: Props) {
|
||||
</div>
|
||||
<pre
|
||||
className="p-4 basis-full text-red-600 overflow-y-scroll whitespace-pre-wrap"
|
||||
style={{ width: "calc(100vw - 650px)", maxHeight: "20vh" }}
|
||||
style={{ width: "calc(100vw - 650px)", height: "150px" }}
|
||||
>
|
||||
<code>{compilerOutput.error.toString()}</code>
|
||||
</pre>
|
||||
|
||||
Reference in New Issue
Block a user