Johannes Rieken 2024-03-22 14:35:09 +01:00 committed by GitHub
parent ad2e199859
commit e763a3dea3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -446,7 +446,7 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
const followupsHeight = this.followupsContainer.offsetHeight;
const inputPartBorder = 1;
const inputPartHorizontalPadding = this.options.renderStyle === 'compact' ? 0 : 40;
const inputPartHorizontalPadding = this.options.renderStyle === 'compact' ? 8 : 40;
const inputPartVerticalPadding = this.options.renderStyle === 'compact' ? 12 : 24;
const inputEditorHeight = Math.min(this._inputEditor.getContentHeight(), height - followupsHeight - inputPartHorizontalPadding - inputPartBorder, INPUT_EDITOR_MAX_HEIGHT);
const implicitContextHeight = this.implicitContextContainer.offsetHeight;