diff --git a/backend/static/css/design-system.css b/backend/static/css/design-system.css index 5b6f1e0..2249a2b 100644 --- a/backend/static/css/design-system.css +++ b/backend/static/css/design-system.css @@ -206,7 +206,7 @@ body { line-height: var(--leading-normal); color: var(--c-text); background-color: var(--c-bg); - min-height: 100%; + height: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } diff --git a/backend/static/css/layout.css b/backend/static/css/layout.css index 8ffa323..fc9d99d 100644 --- a/backend/static/css/layout.css +++ b/backend/static/css/layout.css @@ -10,13 +10,16 @@ #app { display: flex; flex-direction: column; - min-height: 100dvh; + /* height:100% kaskadiert von html→body→#app → exakter Scroll-Container */ + height: 100%; + overflow: hidden; } /* Content-Bereich: füllt den Raum zwischen Header und Bottom-Nav */ #page-content { flex: 1; - min-height: 0; /* iOS-Flex-Bug: ohne das scrollt body statt #page-content */ + /* min-height:0 zwingt flex-child zum Schrumpfen → overflow-y greift auf iOS */ + min-height: 0; overflow-y: auto; overflow-x: hidden; padding-bottom: calc(var(--nav-bottom-height) + var(--safe-bottom) + 16px); @@ -27,6 +30,9 @@ @media (min-width: 768px) { #app { flex-direction: row; + height: auto; + min-height: 100dvh; + overflow: visible; } #page-content { min-height: unset; diff --git a/backend/static/js/app.js b/backend/static/js/app.js index e3584f8..c26a0d8 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 = '503'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '502'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.0.0'; // ← semantische Version, wird bei make release gesetzt const IS_STAGING = location.hostname === 'staging.banyaro.app'; diff --git a/backend/static/manifest.json b/backend/static/manifest.json index d71ba4c..a2f4d1d 100644 --- a/backend/static/manifest.json +++ b/backend/static/manifest.json @@ -1,6 +1,6 @@ { "id": "/", - "version": "1.1.0", + "version": "1.0.0", "name": "Ban Yaro — Die Hunde-Plattform", "short_name": "Ban Yaro", "description": "Alles rund um deinen Hund. Von Welpe bis Opa.", diff --git a/backend/static/sw.js b/backend/static/sw.js index 69c63d8..d2db130 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -3,7 +3,7 @@ Offline-Cache + Push Notifications + Tile-Cache ============================================================ */ -const CACHE_VERSION = 'by-v526'; +const CACHE_VERSION = 'by-v525'; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache