Skip to content

Commit

Permalink
fix heigh
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmolina committed Jul 23, 2024
1 parent 0c45ea2 commit 7fdf88f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
11 changes: 4 additions & 7 deletions docs/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@media only screen and (max-width: 1920px) {
canvas {
height: 640px;
height: 100vh;
}

.game-area {
Expand All @@ -28,7 +28,7 @@

@media only screen and (max-width: 1280px) {
canvas {
height: 600px;
height: 100vh;
}

.game-area {
Expand All @@ -43,22 +43,19 @@

@media only screen and (max-width: 1024px) {
canvas {
height: 500px;
height: 100vh;
}

.game-area {
margin: auto;
width: 500px;
}

.bg-area img {
width: 440px;
}
}

@media only screen and (max-width: 600px) {
canvas {
height: 450px;
height: 100vh;
}
.bg-area img {
width: 400px;
Expand Down
11 changes: 4 additions & 7 deletions src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@media only screen and (max-width: 1920px) {
canvas {
height: 640px;
height: 100vh;
}

.game-area {
Expand All @@ -28,7 +28,7 @@

@media only screen and (max-width: 1280px) {
canvas {
height: 600px;
height: 100vh;
}

.game-area {
Expand All @@ -43,22 +43,19 @@

@media only screen and (max-width: 1024px) {
canvas {
height: 500px;
height: 100vh;
}

.game-area {
margin: auto;
width: 500px;
}

.bg-area img {
width: 440px;
}
}

@media only screen and (max-width: 600px) {
canvas {
height: 450px;
height: 100vh;
}
.bg-area img {
width: 400px;
Expand Down

0 comments on commit 7fdf88f

Please sign in to comment.