Johannes Rieken 2024-03-26 20:50:38 +01:00 committed by GitHub
parent c27738b91c
commit 25da801de4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -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;

View file

@ -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;