[openstreetmap-website] Port to Leaflet (#121)

John Firebaugh notifications at github.com
Fri Nov 9 20:00:40 GMT 2012


> I don't recommend removing it locally, since you can easily forget to remove it again when updating Leaflet to a newer version. Just add .leaflet-popup-content img { max-width: <needed value> !important; } in website CSS.

I try to avoid using `!important`. Can't you just make the selector a bit more specific? Like `.leaflet-container .leaflet-tile-pane img` or something?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/121#issuecomment-10242548
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20121109/b2ed25b5/attachment-0001.html>


More information about the rails-dev mailing list