Karte: Follow-Crosshair zwischen Zoom-Reglern und Offline-Puls-Icon (Rene)

position:fixed + safe-area (+70px) wie das Offline-Icon (+110px) statt
absolute im Karten-Container — sitzt jetzt exakt in der Luecke; Offline-
Puls bleibt unveraendert an seinem Platz.
Bump v1246
This commit is contained in:
rene 2026-06-06 20:04:49 +02:00
parent f4f597edf8
commit fc55943e90
6 changed files with 20 additions and 18 deletions

View file

@ -843,8 +843,10 @@ window.Page_map = (() => {
b.id = 'map-follow-btn';
b.type = 'button';
b.title = 'Karte folgt deinem Standort';
b.style.cssText = 'position:absolute;left:10px;top:calc(env(safe-area-inset-top, 0px) + 150px);'
+ 'z-index:500;width:38px;height:38px;border-radius:50%;border:none;'
// FIXED + safe-area wie das Offline-Puls-Icon (+110px) — Crosshair sitzt in der
// Lücke ZWISCHEN Zoom-Reglern und Offline-Icon (René 2026-06-06).
b.style.cssText = 'position:fixed;left:10px;top:calc(env(safe-area-inset-top, 0px) + 70px);'
+ 'z-index:500;width:36px;height:36px;border-radius:50%;border:none;'
+ 'background:var(--c-surface,#fff);box-shadow:0 2px 8px rgba(0,0,0,.3);'
+ 'display:flex;align-items:center;justify-content:center;cursor:pointer';
b.innerHTML = `<svg class="ph-icon" aria-hidden="true" style="width:20px;height:20px"><use href="/icons/phosphor.svg#crosshair"></use></svg>`;