More targeted max-width: !important in CSS

This for example allows to have images in popups not affected
by the max-width.
This commit is contained in:
Yohan Boniface 2015-05-09 08:54:44 +02:00
parent b170695fe5
commit b3ff3a0e52

4
dist/leaflet.css vendored
View File

@ -43,8 +43,8 @@
} }
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ /* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ /* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container svg, .leaflet-container .leaflet-overlay-pane svg,
.leaflet-container img { .leaflet-container .leaflet-tile-pane img {
max-width: none !important; max-width: none !important;
} }
/* stupid Android 2 doesn't understand "max-width: none" properly */ /* stupid Android 2 doesn't understand "max-width: none" properly */