Skip to content

Commit

Permalink
Prevent blue highlight when tapping canvas on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehorvat committed Feb 24, 2024
1 parent 94c0d2e commit a7cdf7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ canvas {
width: 100%;
height: 100%;
display: block;
-webkit-tap-highlight-color: transparent; /* Prevent Chrome's blue highlight when tapping on mobile. */
}

0 comments on commit a7cdf7e

Please sign in to comment.