Commit f6388388 authored by neil.fraser@gmail.com's avatar neil.fraser@gmail.com Committed by carlospamg

Stop iOS from expanding readonly iframes infinitely vertically.

git-svn-id: http://blockly.googlecode.com/svn/trunk@1759 c400ca83-b69d-9dd7-9705-49c6b8615e23
parent d5684ec8
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
height: 100%;
width: 100%; width: 100%;
} }
#blockly>svg { #blockly>svg {
...@@ -27,7 +26,7 @@ ...@@ -27,7 +26,7 @@
} }
</style> </style>
</head> </head>
<body> <body onload="document.getElementById('blockly').style.height = window.innerHeight + 'px';">
<script type="text/javascript"> <script type="text/javascript">
document.write(mazepage.readonly({}, null, document.write(mazepage.readonly({}, null,
{langSrc: BlocklyApps.languagePack()})); {langSrc: BlocklyApps.languagePack()}));
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
height: 100%;
width: 100%; width: 100%;
} }
#blockly>svg { #blockly>svg {
...@@ -27,7 +26,7 @@ ...@@ -27,7 +26,7 @@
} }
</style> </style>
</head> </head>
<body> <body onload="document.getElementById('blockly').style.height = window.innerHeight + 'px';">
<script type="text/javascript"> <script type="text/javascript">
document.write(puzzlepage.readonly({}, null, document.write(puzzlepage.readonly({}, null,
{langSrc: BlocklyApps.languagePack()})); {langSrc: BlocklyApps.languagePack()}));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment