Fix: map-legend top: 28px global (kein Media-Query), deckt alle Geräte ab (SW by-v824)
This commit is contained in:
parent
d078fb4b51
commit
666cdd3a73
5 changed files with 11 additions and 13 deletions
|
|
@ -341,7 +341,7 @@ MEDIA_DIR = os.getenv("MEDIA_DIR", "/data/media")
|
||||||
os.makedirs(MEDIA_DIR, exist_ok=True)
|
os.makedirs(MEDIA_DIR, exist_ok=True)
|
||||||
app.mount("/media", StaticFiles(directory=MEDIA_DIR), name="media")
|
app.mount("/media", StaticFiles(directory=MEDIA_DIR), name="media")
|
||||||
|
|
||||||
APP_VER = "823" # muss mit APP_VER in app.js übereinstimmen
|
APP_VER = "824" # muss mit APP_VER in app.js übereinstimmen
|
||||||
|
|
||||||
@app.get("/.well-known/assetlinks.json")
|
@app.get("/.well-known/assetlinks.json")
|
||||||
async def assetlinks():
|
async def assetlinks():
|
||||||
|
|
|
||||||
|
|
@ -3087,15 +3087,13 @@ html.modal-open {
|
||||||
}
|
}
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.map-full-layout { top: 0; left: var(--nav-sidebar-width); bottom: 0; }
|
.map-full-layout { top: 0; left: var(--nav-sidebar-width); bottom: 0; }
|
||||||
/* 28px: iPad-Statusleiste (20px) + etwas Abstand */
|
|
||||||
.map-legend { top: 28px; }
|
|
||||||
}
|
}
|
||||||
.map-full { width: 100%; height: 100%; }
|
.map-full { width: 100%; height: 100%; }
|
||||||
|
|
||||||
/* Legende: horizontaler Scroll-Strip oben */
|
/* Legende: horizontaler Scroll-Strip oben */
|
||||||
.map-legend {
|
.map-legend {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: var(--space-2);
|
top: 28px; /* mind. Status-Leisten-Höhe auf Tablet/iPad */
|
||||||
left: 42px; /* Zoom-Control (+/-) freilassen */
|
left: 42px; /* Zoom-Control (+/-) freilassen */
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
|
|
|
||||||
|
|
@ -101,9 +101,9 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- CSS: Reihenfolge ist wichtig — ?v= zwingt Browser zur Neuladung -->
|
<!-- CSS: Reihenfolge ist wichtig — ?v= zwingt Browser zur Neuladung -->
|
||||||
<link rel="stylesheet" href="/css/design-system.css?v=823">
|
<link rel="stylesheet" href="/css/design-system.css?v=824">
|
||||||
<link rel="stylesheet" href="/css/layout.css?v=823">
|
<link rel="stylesheet" href="/css/layout.css?v=824">
|
||||||
<link rel="stylesheet" href="/css/components.css?v=823">
|
<link rel="stylesheet" href="/css/components.css?v=824">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|
@ -583,10 +583,10 @@
|
||||||
<div id="modal-container"></div>
|
<div id="modal-container"></div>
|
||||||
|
|
||||||
<!-- JS: Reihenfolge ist wichtig — erst Basis, dann Features -->
|
<!-- JS: Reihenfolge ist wichtig — erst Basis, dann Features -->
|
||||||
<script src="/js/api.js?v=823"></script>
|
<script src="/js/api.js?v=824"></script>
|
||||||
<script src="/js/ui.js?v=823"></script>
|
<script src="/js/ui.js?v=824"></script>
|
||||||
<script src="/js/app.js?v=823"></script>
|
<script src="/js/app.js?v=824"></script>
|
||||||
<script src="/js/worlds.js?v=823"></script>
|
<script src="/js/worlds.js?v=824"></script>
|
||||||
|
|
||||||
<!-- Feature-Seiten werden lazy geladen -->
|
<!-- Feature-Seiten werden lazy geladen -->
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Router, State-Management, Navigation, Initialisierung.
|
Router, State-Management, Navigation, Initialisierung.
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const APP_VER = '823'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
const APP_VER = '824'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||||
const APP_VERSION = '1.5.0'; // ← semantische Version, wird bei make release gesetzt
|
const APP_VERSION = '1.5.0'; // ← semantische Version, wird bei make release gesetzt
|
||||||
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
||||||
// Cache-Bust-Parameter nach Update-Reload sofort entfernen
|
// Cache-Bust-Parameter nach Update-Reload sofort entfernen
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Offline-Cache + Push Notifications + Tile-Cache
|
Offline-Cache + Push Notifications + Tile-Cache
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const CACHE_VERSION = 'by-v823';
|
const CACHE_VERSION = 'by-v824';
|
||||||
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