Fix: #app height:100dvh statt position:fixed+inset:0 — dvh inkl. safe areas, SW by-v533
This commit is contained in:
parent
6e938b9fa1
commit
03508f8aa3
3 changed files with 4 additions and 8 deletions
|
|
@ -7,14 +7,10 @@
|
|||
/* ------------------------------------------------------------
|
||||
1. APP SHELL
|
||||
------------------------------------------------------------ */
|
||||
/* Mobile: #app als fixed Container — einzig zuverlässiger iOS-PWA-Fix.
|
||||
#bottom-nav braucht dann kein position:fixed mehr, er ist Flex-Kind
|
||||
am unteren Rand des fixierten Containers. */
|
||||
#app {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100dvh; /* dvh = dynamic viewport inkl. safe areas */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
|
@ -38,7 +34,7 @@ body.page-fullscreen #page-content {
|
|||
/* Desktop: normaler Dokumentfluss, Sidebar-Layout */
|
||||
@media (min-width: 768px) {
|
||||
#app {
|
||||
position: static;
|
||||
height: auto;
|
||||
min-height: 100dvh;
|
||||
overflow: visible;
|
||||
flex-direction: row;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
Router, State-Management, Navigation, Initialisierung.
|
||||
============================================================ */
|
||||
|
||||
const APP_VER = '509'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||
const APP_VER = '510'; // ← 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';
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
Offline-Cache + Push Notifications + Tile-Cache
|
||||
============================================================ */
|
||||
|
||||
const CACHE_VERSION = 'by-v532';
|
||||
const CACHE_VERSION = 'by-v533';
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue