Nachrichten: position:fixed auf Mobile - Header/Input immer sichtbar, kein Leerraum

This commit is contained in:
2026-05-28 15:27:51 +02:00
parent 4f0d353956
commit 2041168ca1
2 changed files with 14 additions and 8 deletions

View File

@@ -1663,12 +1663,8 @@ export default function App() {
const isNachrichten = active === 'nachrichten';
const mainStyle = {
flex:1,
overflowY: (mobile && isNachrichten) ? 'hidden' : 'auto',
...(mobile && isNachrichten ? {
height: 'calc(100dvh - 56px - env(safe-area-inset-bottom, 0px))',
display:'flex', flexDirection:'column',
} : {}),
...(mobile && !isNachrichten ? { paddingBottom:'calc(56px + env(safe-area-inset-bottom, 0px))' } : {}),
overflowY: 'auto',
...(mobile ? { paddingBottom:'calc(56px + env(safe-area-inset-bottom, 0px))' } : {}),
};
return(