Restore: CSS exakt auf v1.1.0 + overscroll-behavior-y:none auf #page-content — SW by-v540

This commit is contained in:
rene 2026-04-30 10:06:45 +02:00
parent 4a634fbbd1
commit c0a1b2e922
4 changed files with 25 additions and 17 deletions

View file

@ -2590,7 +2590,8 @@ html.modal-open {
.rk-layout { .rk-layout {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: 100dvh; height: 100%;
overflow: hidden;
background: var(--c-bg); background: var(--c-bg);
} }
.rk-header { .rk-header {

View file

@ -15,25 +15,24 @@
/* Content-Bereich: füllt den Raum zwischen Header und Bottom-Nav */ /* Content-Bereich: füllt den Raum zwischen Header und Bottom-Nav */
#page-content { #page-content {
flex: 1; flex: 1;
min-height: 0; min-height: 0; /* iOS-Flex-Bug: ohne das scrollt body statt #page-content */
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
padding-bottom: calc(var(--nav-bottom-height) + var(--safe-bottom) + 16px); padding-bottom: calc(var(--nav-bottom-height) + var(--safe-bottom) + 16px);
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
overscroll-behavior-y: none; /* iOS-Bounce verhindert fixed-Nav-Drift */ overscroll-behavior-y: none; /* iOS: verhindert Bounce der nav driften lässt */
} }
/* Desktop: Sidebar-Layout */ /* Desktop: Sidebar-Layout — kein Bottom-Nav, natürliche Höhe */
@media (min-width: 768px) { @media (min-width: 768px) {
#app { #app {
flex-direction: row; flex-direction: row;
} }
#page-content { #page-content {
min-height: unset; min-height: unset;
overscroll-behavior-y: auto; padding-bottom: 0;
padding-bottom: 0; padding-left: var(--nav-sidebar-width);
padding-left: var(--nav-sidebar-width);
} }
} }
@ -152,9 +151,16 @@
position: relative; position: relative;
} }
/* Routen: window-scroll (kein overflow:hidden), padding entfernt */ /* Routen: volle Höhe damit .rk-layout height:100% auflöst und
das Grid intern scrollt (nicht die gesamte Seite via #page-content) */
#page-routes {
height: 100%;
overflow: hidden;
}
#page-routes > .page-body { #page-routes > .page-body {
padding: 0 !important; padding: 0 !important;
overflow: hidden;
height: 100%;
} }
/* ------------------------------------------------------------ /* ------------------------------------------------------------
@ -165,7 +171,8 @@
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 0; right: 0;
z-index: 700; z-index: 700; /* über Leaflet-Panes (~400) */
/* GPU-Layer erzwingen → iOS Safari fixed-position Stabilität */
transform: translateZ(0); transform: translateZ(0);
-webkit-transform: translateZ(0); -webkit-transform: translateZ(0);
will-change: transform; will-change: transform;

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung. Router, State-Management, Navigation, Initialisierung.
============================================================ */ ============================================================ */
const APP_VER = '516'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VER = '517'; // ← 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';

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications + Tile-Cache Offline-Cache + Push Notifications + Tile-Cache
============================================================ */ ============================================================ */
const CACHE_VERSION = 'by-v539'; const CACHE_VERSION = 'by-v540';
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