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:
12
Cargo.lock
generated
12
Cargo.lock
generated
@ -700,7 +700,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nexus"
|
name = "nexus"
|
||||||
version = "0.1.15-rc8"
|
version = "0.1.15-rc9"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"axum",
|
"axum",
|
||||||
"nexus-adapter",
|
"nexus-adapter",
|
||||||
@ -715,7 +715,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nexus-adapter"
|
name = "nexus-adapter"
|
||||||
version = "0.1.15-rc8"
|
version = "0.1.15-rc9"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"libc",
|
"libc",
|
||||||
@ -730,7 +730,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nexus-api"
|
name = "nexus-api"
|
||||||
version = "0.1.15-rc8"
|
version = "0.1.15-rc9"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"axum",
|
"axum",
|
||||||
@ -750,7 +750,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nexus-core"
|
name = "nexus-core"
|
||||||
version = "0.1.15-rc8"
|
version = "0.1.15-rc9"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"argon2",
|
"argon2",
|
||||||
"serde",
|
"serde",
|
||||||
@ -761,14 +761,14 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nexus-scheduler"
|
name = "nexus-scheduler"
|
||||||
version = "0.1.15-rc8"
|
version = "0.1.15-rc9"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"nexus-core",
|
"nexus-core",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nexus-store"
|
name = "nexus-store"
|
||||||
version = "0.1.15-rc8"
|
version = "0.1.15-rc9"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"nexus-core",
|
"nexus-core",
|
||||||
"rusqlite",
|
"rusqlite",
|
||||||
|
|||||||
@ -3,7 +3,7 @@ resolver = "3"
|
|||||||
members = ["crates/nexus-core", "crates/nexus-scheduler", "crates/nexus-store", "crates/nexus-adapter", "crates/nexus-api", "crates/nexus"]
|
members = ["crates/nexus-core", "crates/nexus-scheduler", "crates/nexus-store", "crates/nexus-adapter", "crates/nexus-api", "crates/nexus"]
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.1.15-rc8"
|
version = "0.1.15-rc9"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
repository = "ssh://git@git.wlkns.org:2222/wlkns-dev/nexus.git"
|
repository = "ssh://git@git.wlkns.org:2222/wlkns-dev/nexus.git"
|
||||||
|
|||||||
@ -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. */
|
/* 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){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)>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)>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}
|
@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}}
|
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. */
|
/* CHAT-03: Seitenleiste mit Verlauf neben dem Chat, auf schmalen Fenstern ausgeblendet. */
|
||||||
|
|||||||
@ -4594,3 +4594,12 @@ async fn profilwechsel_waehrend_des_ladens_uebernimmt_nicht_den_alten_vram_messw
|
|||||||
Some(777)
|
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}"));
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user