Skip to content

Commit 5c54c38

Browse files
committed
done with it
1 parent 2297276 commit 5c54c38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

04-Breakout-Game/style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ body {
2929
justify-content: center;
3030
min-height: 100vh;
3131
margin: 0;
32+
overscroll-behavior: contain;
3233
}
3334

3435
h1 {
@@ -40,9 +41,8 @@ canvas {
4041
background-color: var(--canvas-color);
4142
display: block;
4243
border-radius: 5px;
43-
width: 800px;
44-
max-width: 70vw;
45-
max-height: 70vh;
44+
max-width: 90vw;
45+
max-height: 60vh;
4646
}
4747

4848
.btn {

0 commit comments

Comments
 (0)