fix easyPrint icon, printing still broken
print broken due to browser security violation (see https://github.com/rowanwins/leaflet-easyPrint/issues/82)
This commit is contained in:
20
www/external/easyPrint/easyPrint.css
vendored
20
www/external/easyPrint/easyPrint.css
vendored
@@ -1,20 +1,16 @@
|
||||
|
||||
.leaflet-control-easyPrint a {
|
||||
background:#fff url(print.png) no-repeat 5px;
|
||||
.leaflet-control-easyPrint-button a {
|
||||
background:#fff url(external/easyPrint/print.png) no-repeat 5px;
|
||||
background-size:16px 16px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media print {
|
||||
|
||||
html {padding: 0px!important;}
|
||||
.leaflet-control-easyPrint-button{display: none!important;}
|
||||
|
||||
}
|
||||
|
||||
#map {
|
||||
//@media print {
|
||||
html {padding: 0px!important;}
|
||||
.leaflet-control-easyPrint-button{display: none!important;}
|
||||
}
|
||||
|
||||
//#map {
|
||||
width: 1200;
|
||||
height: 800;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user