Skip to content

Commit 12cce9c

Browse files
authored
Update script.js
1 parent 3bb46a2 commit 12cce9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/script.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ function drawHorizontalLayout() {
3838
document.getElementById('phone_container').style.left = '0px';
3939
textContainer.style.left = phoneFrame.offsetWidth + 30 + "px";
4040
textContainer.style.top = '15%';
41+
document.body.style.backgroundColor = "red";
4142
}
4243

4344
function drawVerticalLayout() {
@@ -48,6 +49,7 @@ function drawVerticalLayout() {
4849
phoneContainer.style.left = (window.innerWidth - phoneFrame.offsetWidth) / 2 + 'px';
4950
phoneContainer.style.bottom = '0px';
5051
textContainer.style.left = textContainer.style.top = '5%';
52+
document.body.style.backgroundColor = "yellow";
5153
}
5254

5355
function drawPoints() {

0 commit comments

Comments
 (0)