Skip to content

Commit

Permalink
Apply mix-blend-mode only on tile images (#8907)
Browse files Browse the repository at this point in the history
  • Loading branch information
Falke-Design committed Apr 9, 2023
1 parent 79986e2 commit 8483bfa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dist/leaflet.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@
max-height: none !important;
width: auto;
padding: 0;
}
.leaflet-container img.leaflet-tile {
/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
mix-blend-mode: plus-lighter;

}

.leaflet-container.leaflet-touch-zoom {
Expand Down Expand Up @@ -588,7 +589,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
}

/* Printing */

@media print {
/* Prevent printers from removing background-images of controls. */
.leaflet-control {
Expand Down

0 comments on commit 8483bfa

Please sign in to comment.