Skip to content

Commit 746e99c

Browse files
committed
MATH-SPRINT-GAME
1 parent f753168 commit 746e99c

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

Source Code/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313

1414
<head>
1515
<meta charset="UTF-8">
16-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
16+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
17+
<meta name="apple-mobile-web-app-capable" content="yes">
1718
<!--
1819
Site Metadata checks:
1920
Standardized Title and Meta Author tags for Project Attribution.

Source Code/style.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ body {
4545
-moz-user-select: none;
4646
-ms-user-select: none;
4747
user-select: none;
48-
height: 100vh;
48+
user-select: none;
49+
height: 100dvh;
4950
background: #f0f8ff;
5051
/* AliceBlue base */
5152
background-image: url("img/background_sprint.png");
@@ -741,8 +742,8 @@ button:active {
741742
@media screen and (max-width: 600px) {
742743
.game-container {
743744
width: 100%;
744-
height: 100vh;
745-
max-height: 100vh;
745+
height: 100dvh;
746+
max-height: 100dvh;
746747
border-radius: 0;
747748
margin-top: 0;
748749
border: none;

0 commit comments

Comments
 (0)