Fix: Bottom-Nav position:fixed zurück — #app fixed+inset:0 verhindert Drift, nav erreicht Bildschirmrand, SW by-v530
This commit is contained in:
parent
cd5688ae8f
commit
b62d1ba933
3 changed files with 10 additions and 5 deletions
|
|
@ -25,7 +25,7 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
padding-bottom: var(--space-4);
|
padding-bottom: calc(var(--nav-bottom-height) + var(--safe-bottom) + 16px);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Vollbild-Seiten: #page-content kein Scroll */
|
/* Vollbild-Seiten: #page-content kein Scroll */
|
||||||
|
|
@ -177,8 +177,13 @@ body.page-fullscreen #page-content {
|
||||||
3. BOTTOM NAVIGATION (Mobile)
|
3. BOTTOM NAVIGATION (Mobile)
|
||||||
------------------------------------------------------------ */
|
------------------------------------------------------------ */
|
||||||
#bottom-nav {
|
#bottom-nav {
|
||||||
/* Flex-Kind statt position:fixed — kein iOS-Drift mehr */
|
/* position:fixed relativ zum Viewport — da #app kein transform hat,
|
||||||
flex-shrink: 0;
|
ist dies stabil. Scroll passiert in #page-content (overflow-y:auto),
|
||||||
|
nicht im window → kein iOS-Drift. */
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
z-index: 700;
|
z-index: 700;
|
||||||
min-height: calc(var(--nav-bottom-height) + var(--safe-bottom));
|
min-height: calc(var(--nav-bottom-height) + var(--safe-bottom));
|
||||||
padding-top: var(--space-1);
|
padding-top: var(--space-1);
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Router, State-Management, Navigation, Initialisierung.
|
Router, State-Management, Navigation, Initialisierung.
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const APP_VER = '506'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
const APP_VER = '507'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||||
const APP_VERSION = '1.0.0'; // ← semantische Version, wird bei make release gesetzt
|
const APP_VERSION = '1.0.0'; // ← semantische Version, wird bei make release gesetzt
|
||||||
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Offline-Cache + Push Notifications + Tile-Cache
|
Offline-Cache + Push Notifications + Tile-Cache
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const CACHE_VERSION = 'by-v529';
|
const CACHE_VERSION = 'by-v530';
|
||||||
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
||||||
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
||||||
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
|
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue