fix(chat): replace h-full with flex-1 min-h-0 for ChatArea container
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled

h-full = 100% of parent height, but TopBar already occupies 56px above.
This caused ChatArea to overflow by 56px, pushing the input box below
the visible viewport. flex-1 + min-h-0 correctly fills remaining space
in the flex column layout.
This commit is contained in:
iven
2026-04-08 09:29:30 +08:00
parent a616c73883
commit 81d1702484

View File

@@ -266,7 +266,7 @@ export function ChatArea() {
);
return (
<div className="relative h-full">
<div className="relative flex-1 min-h-0">
{/* Generation progress overlay */}
<AnimatePresence>
{generating && (