CSS reset for svg max-width declarations

Fix for https://github.com/Leaflet/Leaflet/issues/2881
This commit is contained in:
David Jardin 2014-09-03 17:46:35 +02:00
parent ae6d25999c
commit ecb4af5e76

4
dist/leaflet.css vendored
View File

@ -44,6 +44,10 @@
.leaflet-container img { .leaflet-container img {
max-width: none !important; max-width: none !important;
} }
/* reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
.leaflet-container svg {
max-width: none !important;
}
/* stupid Android 2 doesn't understand "max-width: none" properly */ /* stupid Android 2 doesn't understand "max-width: none" properly */
.leaflet-container img.leaflet-image-layer { .leaflet-container img.leaflet-image-layer {
max-width: 15000px !important; max-width: 15000px !important;