There was an error while loading. Please reload this page.
1 parent 3ea6e1f commit c4ba714Copy full SHA for c4ba714
resources/script.js
@@ -35,7 +35,7 @@ function drawLayout() {
35
36
function drawHorizontalLayout() {
37
var phoneFrame = document.getElementById('phone_frame');
38
-phoneFrame.height = window.innerHeight + 'px';
+phoneFrame.style.height = window.innerHeight + 'px';
39
document.getElementById('phone_container').style.left = '0px';
40
document.getElementById('text_container').style.left = phoneFrame.offsetWidth + 30 + "px";
41
}
0 commit comments