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

@@ -243,9 +243,19 @@ export default function Nachrichten({ toast, mobile }) {
</div>
);
const mobileStyle = mobile ? {
position: 'fixed',
top: 0,
left: 0,
right: 0,
bottom: 'calc(56px + env(safe-area-inset-bottom, 0px))',
zIndex: 10,
} : {
height: '100vh',
};
return (
<div style={{ display:'flex', height: mobile ? '100%' : '100vh',
overflow:'hidden', background:'#111114', flex: mobile ? 1 : undefined }}>
<div style={{ display:'flex', overflow:'hidden', background:'#111114', ...mobileStyle }}>
{/* ── Konversationsliste ─────────────────────────────────────────── */}
{showList && (