Skip to content

Commit

Permalink
Placeholder styling
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Aug 16, 2024
1 parent ef7599e commit b3bc223
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions content/demo-dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@
padding: 4px
}
code[data-run] {
white-space: pre-wrap;
margin-left: 94px;
white-space: pre;
font-size: 13px;
display: block;
margin-top: 65px;
}
code[data-run], iframe {
height: 400px;
}
#loader {
display: none;
Expand Down Expand Up @@ -129,7 +136,6 @@
codeEl.textContent = cleanCode;
iframe.src = `https://quansight.github.io/jupyterlite-demo/repl/index.html?kernel=python&toolbar=1`;
iframe.style.width = '100%';
iframe.style.height = '400px';
iframe.onload = () => {
if (iframe.contentDocument) {
iframe.contentDocument.head.appendChild(styleSheet);
Expand Down

0 comments on commit b3bc223

Please sign in to comment.