Drop the tail from the map hover card

This commit is contained in:
Maurice
2026-08-10 08:46:37 +02:00
committed by Maurice
parent f5a483da64
commit a2a9c3094c
2 changed files with 8 additions and 5 deletions
+3 -1
View File
@@ -485,7 +485,9 @@ export function MapViewGL({
popupRef.current = new gl.Popup({
closeButton: false,
closeOnClick: false,
offset: 18,
// The tail is off (index.css), and it used to hold ten of these pixels
// itself — without them the card sat almost on top of the marker.
offset: 26,
maxWidth: '240px',
className: 'trek-map-popup',
})