I'm using Leaflet to display maps from geofield data, with the great Leaflet Widget for Geofield module and I was having trouble with the accurate display of the marker points. When editing, the marker position displayed correctly but shown displayed on the node display (or in Views) the marker was consistently too high, by about 20 pixels.
I struggled with this issue and wasted a few hours but with help (from 'indigoxela' and 'yorkshire-pudding' in https://backdrop.zulipchat.com/) managed to get to the bottom of it.
I had built a subtheme of Bootstrap Lite, and that theme adds a top and bottom margin of 20px to the marker (img).
I added to my subtheme's styles.css:
img { margin: 0; }
and all was displayed perfectly.
I'm adding this here in case anyone else comes across this particular combination of theme and module and sees the same problem.
Recent comments
Hi patch-works I did something similar with Drupal 7: a block with aniversaries of historical dates. You can see it at https://lassalle-kreis.de/ down in the blue footer, the middle column...
How to get a list of upcoming birthdays?
@indigoxela - I agree, I mentioned the SVG topic specifically for the dev meeting. I think we'll definitely want Nate involved in that discussion. Good call!
Apr 18th Weekly Meetings
Hi colbyat, re display in the browser: the problem is that when a 500 occurs, this PHP process died before being able to render anything. So that won't work. Logging is possible, but...
Displaying 500 errors
SVG's are a great topic for the design meeting, but also for the dev meeting. Two currently active issues related to SVG overlap a bit when it comes to security aspects. https://...
Apr 18th Weekly Meetings
We might want to talk about this issue at the dev meeting (if someone is available to speak to the issue and what needs to be done): Support SVG in Image Library https://github.com/...
Apr 18th Weekly Meetings