mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
This commit is contained in:
parent
c27738b91c
commit
25da801de4
|
@ -452,10 +452,10 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
|
|||
private _layout(height: number, width: number, allowRecurse = true): void {
|
||||
const followupsHeight = this.followupsContainer.offsetHeight;
|
||||
|
||||
const inputPartBorder = 1;
|
||||
const inputPartBorder = 0;
|
||||
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 inputEditorHeight = Math.min(this._inputEditor.getContentHeight(), height - followupsHeight - inputPartVerticalPadding - inputPartBorder, INPUT_EDITOR_MAX_HEIGHT);
|
||||
const implicitContextHeight = this.implicitContextContainer.offsetHeight;
|
||||
|
||||
const inputEditorBorder = 2;
|
||||
|
|
|
@ -348,6 +348,10 @@
|
|||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.interactive-session .interactive-input-part.compact .interactive-input-and-execute-toolbar {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.interactive-session .interactive-input-and-side-toolbar {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
|
|
Loading…
Reference in a new issue