diff --git a/src/lib/components/ChatPanel.svelte b/src/lib/components/ChatPanel.svelte index 1204bcc..e1de7cb 100644 --- a/src/lib/components/ChatPanel.svelte +++ b/src/lib/components/ChatPanel.svelte @@ -1411,6 +1411,7 @@ display: flex; flex-direction: column; height: 100%; + min-height: 0; /* Flex-Kinder korrekt begrenzen (WebKitGTK) */ } .chat-header { @@ -1477,6 +1478,7 @@ .chat-messages { flex: 1; + min-height: 0; /* Flex-Overflow korrekt begrenzen */ overflow-y: auto; padding: var(--spacing-md); display: flex; @@ -1972,6 +1974,8 @@ background: var(--bg-secondary); border-top: 1px solid var(--bg-tertiary); position: relative; + flex-shrink: 0; /* Nicht schrumpfen — Eingabe bleibt immer sichtbar */ + max-height: 160px; /* Puffer für mehrzeilige Eingabe */ } .chat-input textarea { @@ -1979,6 +1983,8 @@ resize: none; font-size: 0.85rem; line-height: 1.4; + max-height: 120px; /* Max ~6 Zeilen, dann scrollen */ + overflow-y: auto; } .send-button {