There was an error while loading. Please reload this page.
1 parent a53de85 commit 91d26bbCopy full SHA for 91d26bb
resources/script.js
@@ -34,7 +34,8 @@ function drawLayout() {
34
}
35
36
function drawHorizontalLayout() {
37
-document.getElementById('phone_frame').height = window.innerHeight + 'px';
+var phoneFrame = document.getElementById('phone_frame');
38
+phoneFrame.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