Skip to content

Commit

Permalink
14
Browse files Browse the repository at this point in the history
  • Loading branch information
heybobjones committed Jun 25, 2024
1 parent 4f07a30 commit 9e072df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div id="gameOverSubheader">You got spammed to death! 💀</div></br>
<div> Connect with me on <a href="https://fb.com/bobjones" target="_blank">Facebook</a></div>
</div>
<canvas id="gameCanvas" width="800" height="400"></canvas>
<canvas id="gameCanvas" width="1600" height="800"></canvas>
<div id="controls">
<div><h1>Upload your facebook profile pic and save yourself!</h1></div>
<center><input type="file" id="profilePicUpload" accept="image/*">
Expand Down
3 changes: 3 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ body {

#gameCanvas {
border: 4px solid #0F0;
width: 100%; /* Make the canvas take up full width */
max-width: 1600px; /* Limit the maximum width */
height: auto; /* Maintain aspect ratio */
}

#gameOver {
Expand Down

0 comments on commit 9e072df

Please sign in to comment.