From fc55943e903cfd8a6a80849724d23da8a56deb06 Mon Sep 17 00:00:00 2001 From: rene Date: Sat, 6 Jun 2026 20:04:49 +0200 Subject: [PATCH] Karte: Follow-Crosshair zwischen Zoom-Reglern und Offline-Puls-Icon (Rene) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- VERSION | 2 +- backend/static/index.html | 24 ++++++++++++------------ backend/static/js/app.js | 2 +- backend/static/js/pages/map.js | 6 ++++-- backend/static/landing.html | 2 +- backend/static/sw.js | 2 +- 6 files changed, 20 insertions(+), 18 deletions(-) diff --git a/VERSION b/VERSION index f841b15..09c2854 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1245 \ No newline at end of file +1246 \ No newline at end of file diff --git a/backend/static/index.html b/backend/static/index.html index 944e31f..61df8dc 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -86,14 +86,14 @@ Ban Yaro - + - - - - - + + + + + @@ -612,11 +612,11 @@ - - - - - + + + + + @@ -626,7 +626,7 @@ - + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index ec743d2..2c3fabd 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '1245'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1246'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt window.APP_VER = APP_VER; // global verfügbar für andere Module (z.B. offline-indicator) window.APP_VERSION = APP_VERSION; diff --git a/backend/static/js/pages/map.js b/backend/static/js/pages/map.js index 05c8bdb..300c88a 100644 --- a/backend/static/js/pages/map.js +++ b/backend/static/js/pages/map.js @@ -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 = ``; diff --git a/backend/static/landing.html b/backend/static/landing.html index cf7d467..d93e678 100644 --- a/backend/static/landing.html +++ b/backend/static/landing.html @@ -4,7 +4,7 @@ - + Ban Yaro — Die Hunde-App für Deutschland, Österreich & Schweiz diff --git a/backend/static/sw.js b/backend/static/sw.js index 43180fe..e4d613e 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -4,7 +4,7 @@ ============================================================ */ // ← EINZIGE Stelle für die Version — STATIC_ASSETS und CACHE_VERSION leiten sich ab -const VER = '1245'; +const VER = '1246'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten