Skip to content

Commit

Permalink
Fixed the display of the iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Sep 25, 2012
1 parent 58db343 commit 5b3af9c
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion Shrtr/views/frame.tt
@@ -1,7 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
html, body {
border: 0;
margin: 0;
padding: 0;
position: absolute;
overflow: hidden;
width: 100%;
height: 100%;
min-height: 100%;
}

#content-frame {
margin-top: 30px;
width: 100%;
height: 100%;
position: absolute;
display: block;
overflow-y: auto;
overflow-x: hidden;
}
</style>
</head>
<body>
<iframe id="content-frame" frameborder="0" noresize="noresize" src="[% url.url %]" name="content-frame"></iframe>
</body>
</html>
</html>

0 comments on commit 5b3af9c

Please sign in to comment.