File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,11 @@ let make = (~logs, ~appendLog) => {
25
25
<h2 className = "font-bold text-gray-5/50 absolute right-2 top-2" > {React .string ("Console" )} </h2 >
26
26
{switch logs {
27
27
| [] =>
28
- React .string (
29
- "Add some 'Console.log' to your code and click 'Run' or enable 'Auto-run' to see your logs here." ,
30
- )
28
+ <p className = "p-4 max-w-prose" >
29
+ {React .string (
30
+ "Add some 'Console.log' to your code and click 'Run' or enable 'Auto-run' to see your logs here." ,
31
+ )}
32
+ </p >
31
33
| logs =>
32
34
let content =
33
35
logs
Original file line number Diff line number Diff line change @@ -4,9 +4,11 @@ let make = (~validReact) => {
4
4
<h2 className = "font-bold text-gray-5/50 absolute right-2 top-2" > {React .string ("React" )} </h2 >
5
5
{validReact
6
6
? React .null
7
- : React .string (
8
- "Create a React component called 'App' if you want to render it here, then click 'Run' or enable 'Auto-run'." ,
9
- )}
7
+ : <p className = "p-4 max-w-prose" >
8
+ {React .string (
9
+ "Create a React component called 'App' if you want to render it here, then click 'Run' or enable 'Auto-run'." ,
10
+ )}
11
+ </p >}
10
12
<div className = {validReact ? "h-full" : "h-0" }>
11
13
<EvalIFrame />
12
14
</div >
You can’t perform that action at this time.
0 commit comments