mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
This commit is contained in:
parent
ad2e199859
commit
e763a3dea3
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue