mirror of
https://github.com/Leaflet/Leaflet.git
synced 2026-02-01 17:27:23 +00:00
Add print styles to prevent printers from removing background-images in controls (#7851)
* Add print styles (prevent printers from removing background-images in controls) * Update leaflet.css
This commit is contained in:
parent
acffb7edf8
commit
a9d7c4fe7d
10
dist/leaflet.css
vendored
10
dist/leaflet.css
vendored
@ -643,3 +643,13 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
||||
margin-left: -12px;
|
||||
border-right-color: #fff;
|
||||
}
|
||||
|
||||
/* Printing */
|
||||
|
||||
@media print {
|
||||
/* Prevent printers from removing background-images of controls. */
|
||||
.leaflet-control {
|
||||
-webkit-print-color-adjust: exact;
|
||||
color-adjust: exact;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user