Fix: Gassi-Karte 0px-Höhe — walks-map height:100% + map-view overflow:hidden (SW by-v876)

This commit is contained in:
rene 2026-05-12 09:31:28 +02:00
parent 0ab88ef6b6
commit 69f5c2982a
5 changed files with 16 additions and 11 deletions

View file

@ -376,7 +376,7 @@ if STAGING and os.path.isdir(PROD_MEDIA_DIR):
else:
app.mount("/media", StaticFiles(directory=MEDIA_DIR), name="media")
APP_VER = "875" # muss mit APP_VER in app.js übereinstimmen
APP_VER = "876" # muss mit APP_VER in app.js übereinstimmen
@app.get("/.well-known/assetlinks.json")
async def assetlinks():

View file

@ -3531,9 +3531,14 @@ html.modal-open {
.walks-spots.full { color: var(--c-text-muted); }
.walks-spots.today { color: var(--c-amber, #f59e0b); }
.walks-map {
flex: 1;
height: 100%;
min-height: 300px;
position: relative;
}
/* Map-View darf nicht scrollen — Map füllt die gesamte Fläche */
#walks-map-view {
overflow: hidden;
}
.walks-participant {
display: flex;
align-items: center;

View file

@ -101,9 +101,9 @@
</script>
<!-- CSS: Reihenfolge ist wichtig — ?v= zwingt Browser zur Neuladung -->
<link rel="stylesheet" href="/css/design-system.css?v=875">
<link rel="stylesheet" href="/css/layout.css?v=875">
<link rel="stylesheet" href="/css/components.css?v=875">
<link rel="stylesheet" href="/css/design-system.css?v=876">
<link rel="stylesheet" href="/css/layout.css?v=876">
<link rel="stylesheet" href="/css/components.css?v=876">
</head>
<body>
@ -583,10 +583,10 @@
<div id="modal-container"></div>
<!-- JS: Reihenfolge ist wichtig — erst Basis, dann Features -->
<script src="/js/api.js?v=875"></script>
<script src="/js/ui.js?v=875"></script>
<script src="/js/app.js?v=875"></script>
<script src="/js/worlds.js?v=875"></script>
<script src="/js/api.js?v=876"></script>
<script src="/js/ui.js?v=876"></script>
<script src="/js/app.js?v=876"></script>
<script src="/js/worlds.js?v=876"></script>
<!-- Feature-Seiten werden lazy geladen -->

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
const APP_VER = '875'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VER = '876'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VERSION = '1.5.1'; // ← semantische Version, wird bei make release gesetzt
const IS_STAGING = location.hostname === 'staging.banyaro.app';
// Cache-Bust-Parameter nach Update-Reload sofort entfernen

View file

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