Skip to content

Commit

Permalink
Restrict margin fix to iOS on body
Browse files Browse the repository at this point in the history
  • Loading branch information
oklemenz committed Apr 25, 2022
1 parent eb0d1c6 commit fc14f9b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion assets/web/game.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ body * {
-webkit-user-select: none;
user-select: none;
overflow: hidden;
margin-top: 0.5px;
}

@supports (-webkit-touch-callout: none) {
body {
margin-top: 0.5px;
}
}

canvas {
Expand Down

0 comments on commit fc14f9b

Please sign in to comment.