Apply mix-blend-mode only on tile images (#8907)

This commit is contained in:
Florian Bischof
2023-04-09 15:34:52 +02:00
committed by GitHub
parent 79986e279c
commit 8483bfa62c

5
dist/leaflet.css vendored
View File

@ -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 {
@ -588,7 +589,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
}
/* Printing */
@media print {
/* Prevent printers from removing background-images of controls. */
.leaflet-control {