diff --git a/crates/nexus-api/src/ui.rs b/crates/nexus-api/src/ui.rs index 1a4b93f..47805dc 100644 --- a/crates/nexus-api/src/ui.rs +++ b/crates/nexus-api/src/ui.rs @@ -1282,6 +1282,14 @@ body:has(#chat)>main{flex:1 1 auto;min-height:0;display:flex;flex-direction:colu body:has(#chat) .chat-rahmen{flex:1 1 auto;min-height:24rem} body:has(#chat)>main>h1,body:has(#chat)>main>p{flex:0 0 auto} body:has(#chat) #chat{flex:1 1 auto;height:auto;min-height:0;margin-bottom:.6rem} +/* Schmale oder niedrige Fenster (auch mit Bildschirmtastatur): Die Seite fließt normal und scrollt, die Karte ist so hoch + wie ihr Inhalt, nur der Verlauf scrollt in einem begrenzten Bereich. So liegt nichts übereinander (#1171). */ +@media (max-width:40rem),(max-height:34rem){body:has(#chat){height:auto;min-height:100vh;min-height:100dvh;display:block;overflow:visible} +body:has(#chat)>header{position:static} +body:has(#chat)>main{display:block;overflow:visible} +body:has(#chat) .chat-rahmen{min-height:0} +body:has(#chat) #chat{height:auto;min-height:0} +body:has(#chat) #chat .verlauf{flex:0 0 auto;min-height:8rem;max-height:55vh;max-height:55dvh}} @media (max-width:40rem){header .innen{gap:.6rem 1rem}header form{margin-left:auto}header nav{order:3;width:100%;flex-wrap:nowrap;overflow-x:auto} header nav a{padding:.3rem .8rem;white-space:nowrap}h1{font-size:1.3rem}.card{padding:.9rem 1rem}} /* CHAT-03: Seitenleiste mit Verlauf neben dem Chat, auf schmalen Fenstern ausgeblendet. */