Skip to content

Commit

Permalink
Fix sandbox iframe position
Browse files Browse the repository at this point in the history
  • Loading branch information
vladlavrik committed Dec 17, 2023
1 parent 2fbd2a0 commit 392336b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<body>
<div id="app-root"></div>
<div id="modal-root"></div>
<iframe id="netify-sandbox-iframe" src="./sandbox.html" style="display:none;"></iframe>
</body>
<iframe id="netify-sandbox-iframe" src="./sandbox.html" style="display:none;"></iframe>
</html>
6 changes: 6 additions & 0 deletions src/style/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ body {
background: var(--color-bg-main);
}

:global(#netify-sandbox-iframe) {
position: absolute;
left: -1000000px;
top: -100000px;
}

/* stylelint-disable selector-no-qualifying-type */
:global body.platform-linux {
font-family: Roboto, Ubuntu, Arial, sans-serif;
Expand Down

0 comments on commit 392336b

Please sign in to comment.