Fix chat panel followups overflowing (#214383)

This commit is contained in:
Rob Lourens 2024-06-05 15:59:14 -07:00 committed by GitHub
parent d956f3bfe2
commit 8cca7892e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -530,7 +530,8 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
const inputEditorHeight = Math.min(data.inputPartEditorHeight, height - data.followupsHeight - data.inputPartVerticalPadding);
this.followupsContainer.style.width = `${width}px`;
const followupsWidth = width - data.inputPartHorizontalPadding;
this.followupsContainer.style.width = `${followupsWidth}px`;
this._inputPartHeight = data.followupsHeight + inputEditorHeight + data.inputPartVerticalPadding + data.inputEditorBorder + data.implicitContextHeight;