Fix: #bottom-nav aus #app heraus — position:fixed relativ zum echten Viewport, SW by-v532
This commit is contained in:
parent
460cc47844
commit
6e938b9fa1
3 changed files with 26 additions and 25 deletions
|
|
@ -434,32 +434,33 @@
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<!-- MOBILE BOTTOM NAVIGATION -->
|
|
||||||
<nav id="bottom-nav" role="navigation" aria-label="Hauptnavigation">
|
|
||||||
<div class="nav-item" data-page="map">
|
|
||||||
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#map-trifold"></use></svg>
|
|
||||||
<span class="nav-item-label">Karte</span>
|
|
||||||
</div>
|
|
||||||
<div class="nav-item" data-page="routes">
|
|
||||||
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#path"></use></svg>
|
|
||||||
<span class="nav-item-label">Routen</span>
|
|
||||||
</div>
|
|
||||||
<!-- Mittlerer + Button -->
|
|
||||||
<div class="nav-item nav-item-center" id="nav-add">
|
|
||||||
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#plus"></use></svg>
|
|
||||||
</div>
|
|
||||||
<div class="nav-item active" data-page="diary">
|
|
||||||
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#book-open"></use></svg>
|
|
||||||
<span class="nav-item-label">Tagebuch</span>
|
|
||||||
</div>
|
|
||||||
<div class="nav-item" data-page="forum">
|
|
||||||
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#push-pin"></use></svg>
|
|
||||||
<span class="nav-item-label">Forum</span>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
</div><!-- #app -->
|
</div><!-- #app -->
|
||||||
|
|
||||||
|
<!-- MOBILE BOTTOM NAVIGATION — außerhalb #app damit position:fixed zum echten Viewport -->
|
||||||
|
<nav id="bottom-nav" role="navigation" aria-label="Hauptnavigation">
|
||||||
|
<div class="nav-item" data-page="map">
|
||||||
|
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#map-trifold"></use></svg>
|
||||||
|
<span class="nav-item-label">Karte</span>
|
||||||
|
</div>
|
||||||
|
<div class="nav-item" data-page="routes">
|
||||||
|
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#path"></use></svg>
|
||||||
|
<span class="nav-item-label">Routen</span>
|
||||||
|
</div>
|
||||||
|
<!-- Mittlerer + Button -->
|
||||||
|
<div class="nav-item nav-item-center" id="nav-add">
|
||||||
|
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#plus"></use></svg>
|
||||||
|
</div>
|
||||||
|
<div class="nav-item active" data-page="diary">
|
||||||
|
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#book-open"></use></svg>
|
||||||
|
<span class="nav-item-label">Tagebuch</span>
|
||||||
|
</div>
|
||||||
|
<div class="nav-item" data-page="forum">
|
||||||
|
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#push-pin"></use></svg>
|
||||||
|
<span class="nav-item-label">Forum</span>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
<!-- TOAST CONTAINER (außerhalb der App, immer sichtbar) -->
|
<!-- TOAST CONTAINER (außerhalb der App, immer sichtbar) -->
|
||||||
<div class="toast-container" id="toast-container" role="alert" aria-live="polite"></div>
|
<div class="toast-container" id="toast-container" role="alert" aria-live="polite"></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Router, State-Management, Navigation, Initialisierung.
|
Router, State-Management, Navigation, Initialisierung.
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const APP_VER = '508'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
const APP_VER = '509'; // ← 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-v531';
|
const CACHE_VERSION = 'by-v532';
|
||||||
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