leaflet.browser.print icon indicating copy to clipboard operation
leaflet.browser.print copied to clipboard

resize button heigth

Open astomas opened this issue 4 years ago • 1 comments

It's a question not a bug: I try to resize the main print button from 34x35 to 30x30. I've managed to change button width to 30px in leaflet-browser-print.js by adding option "width:26px;" to '.leaflet-control-browser-print a.leaflet-browser-print' but dont know how to change button heigth (when adding "heigth:26px;" no changes occur to heigth)

astomas avatar Apr 15 '22 12:04 astomas

I've found a way to change print button heigth, it's in leaflet.css : .leaflet-touch .leaflet-bar a {width: 30px; /* height: 30px; */ height: 25px; line-height: 30px;} There is still a 2px bottom heigth resize when hovering.

astomas avatar Apr 20 '22 06:04 astomas