Skip to content

Commit

Permalink
Fix iframe sizing (#2960)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Mar 16, 2022
1 parent 51d4669 commit 256eda9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 29 deletions.
28 changes: 0 additions & 28 deletions src/tinyPages/frame.css

This file was deleted.

14 changes: 13 additions & 1 deletion src/tinyPages/frame.html
Expand Up @@ -20,5 +20,17 @@
<!-- Open all links in new tab, never in the frame #851 -->
<base target="_blank" />
<title>PixieBrix Frame</title>
<link rel="stylesheet" href="frame.css" />
<style>
body {
margin: 0;
}
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
</style>
<script defer src="frame.js"></script>

0 comments on commit 256eda9

Please sign in to comment.