fix: Chat-Seite scrollt bei kleinem Fenster, Kopf mit Stimme erreichbar; Version 0.1.15-rc9

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmHhg6k5Hxh8GpVW7od4Di
This commit is contained in:
2026-11-20 19:29:35 +01:00
parent 9529c3f8f8
commit 2211c3f77d
4 changed files with 19 additions and 9 deletions

View File

@ -1252,9 +1252,10 @@ th[aria-sort=ascending]::after{content:" ▲";color:var(--accent)}th[aria-sort=d
/* Chat-Seite: die ganze Seite füllt genau das Fenster und scrollt nie, nur der Verlauf im Chat-Fenster. */
body:has(#chat){height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
body:has(#chat)>header,body:has(#chat)>footer{flex:0 0 auto}
body:has(#chat)>main{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
body:has(#chat)>main{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow-y:auto}
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:12rem;margin-bottom:.6rem}
body:has(#chat) #chat{flex:1 1 auto;height:auto;min-height:0;margin-bottom:.6rem}
@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. */

View File

@ -4594,3 +4594,12 @@ async fn profilwechsel_waehrend_des_ladens_uebernimmt_nicht_den_alten_vram_messw
Some(777)
);
}
#[tokio::test]
async fn chat_seite_laesst_sich_bei_kleinem_fenster_scrollen() {
// Fehler srv04: Bei wenig Höhe war der Kopf (Persona, Stimme) nicht erreichbar, weil nichts scrollte.
let gw = gateway(0, false).await;
let (_, _, css) = ui_get(&gw, "/ui/app.css", None).await;
assert!(css.contains("body:has(#chat)>main{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow-y:auto}"));
assert!(css.contains("body:has(#chat) .chat-rahmen{flex:1 1 auto;min-height:24rem}"));
}