From d9b65fd37eea45d2a96a17fae6ad875399974729 Mon Sep 17 00:00:00 2001 From: torsten Date: Tue, 10 Nov 2026 10:54:22 +0100 Subject: [PATCH] Datenschutz-Footer am unteren Fensterrand ausrichten --- motorradig/public/css/custom.css | 22 +++++++++++++++++++++- motorradig/public/sw.js | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/motorradig/public/css/custom.css b/motorradig/public/css/custom.css index 554ecb3..65baba3 100644 --- a/motorradig/public/css/custom.css +++ b/motorradig/public/css/custom.css @@ -1239,8 +1239,28 @@ body.privacy-modal-open { line-height: 1.45; } +/* Sticky Footer: Datenschutz/Impressum immer am unteren Fensterrand */ +body.bg { + display: flex; + flex-direction: column; + height: auto; + min-height: 100vh; + min-height: 100dvh; +} + +#app { + display: flex; + flex: 1 0 auto; + flex-direction: column; +} + +#app > main { + flex: 1 0 auto; +} + .privacy-footer { - margin-top: 1rem; + flex-shrink: 0; + margin-top: auto; padding: 1.25rem 1rem 1.5rem; color: rgba(255, 255, 255, .82); font-size: .85rem; diff --git a/motorradig/public/sw.js b/motorradig/public/sw.js index 9cfaa62..d4586db 100644 --- a/motorradig/public/sw.js +++ b/motorradig/public/sw.js @@ -10,7 +10,7 @@ */ 'use strict'; -var CACHE_VERSION = 'motorradig-static-v3'; +var CACHE_VERSION = 'motorradig-static-v4'; var OFFLINE_URL = '/offline.html'; var PRECACHE_URLS = [