Skip to content

v0.13.5-pl.11

Choose a tag to compare

@TBarregren TBarregren released this 14 May 07:48
· 41 commits to main since this release

Add 0.5 rem visible gap between waypoint marker and tooltip.

With the arrow gone (v0.13.5-pl.10), Leaflet's bundled ±6 px margin on .leaflet-tooltip-top / .leaflet-tooltip-bottom matched the marker radius exactly, so the tooltip sat flush with the marker's visible edge and the mouse cursor obscured the first line. Override the margins with calc(±6px ± 0.5rem) and bump the JS flip threshold by the same WAYPOINT_MARKER_RADIUS_PX + 0.5 rem so JS and CSS agree on the rendered position.