Skip to content

Commit 4c756ab

Browse files
committed
Add static div to HtmlRenderer
1 parent 297213a commit 4c756ab

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/components/Editor/Runners/HtmlRunner/HtmlRenderer.jsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,14 @@ export function HtmlRenderer() {
183183
}, [handlePreviewUpdateFromHost]);
184184

185185
return (
186-
<iframe
187-
className={"htmlrunner-iframe"}
188-
title={"preview-sandbox"}
189-
srcDoc={previewHtml ?? "<div>Nothing to see here</div>"}
190-
/>
186+
<>
187+
<div>There's an iframe nearby...</div>
188+
<iframe
189+
className={"htmlrunner-iframe"}
190+
title={"preview-sandbox"}
191+
srcDoc={previewHtml ?? "<div>Nothing to see here</div>"}
192+
/>
193+
</>
191194
);
192195
}
193196

0 commit comments

Comments
 (0)