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) => {
2525 <h2 className = "font-bold text-gray-5/50 absolute right-2 top-2" > {React .string ("Console" )} </h2 >
2626 {switch logs {
2727 | [] =>
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 >
3133 | logs =>
3234 let content =
3335 logs
Original file line number Diff line number Diff line change @@ -4,9 +4,11 @@ let make = (~validReact) => {
44 <h2 className = "font-bold text-gray-5/50 absolute right-2 top-2" > {React .string ("React" )} </h2 >
55 {validReact
66 ? 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 >}
1012 <div className = {validReact ? "h-full" : "h-0" }>
1113 <EvalIFrame />
1214 </div >
You can’t perform that action at this time.
0 commit comments