Skip to content

Commit

Permalink
Prevent IE11 from highlighting tiles in blue (Leaflet#6570)
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorVelarde authored and Schleuse committed Dec 3, 2019
1 parent caa60b1 commit 88a7eae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dist/leaflet.css
Expand Up @@ -25,6 +25,10 @@
user-select: none;
-webkit-user-drag: none;
}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
image-rendering: -webkit-optimize-contrast;
Expand Down

0 comments on commit 88a7eae

Please sign in to comment.