no width restriction for inline chat (#234975)

fixes https://github.com/microsoft/vscode-copilot/issues/9266
This commit is contained in:
Johannes Rieken
2024-12-02 12:51:10 +01:00
committed by GitHub
parent 9e0297c3ec
commit 0da229afca

View File

@@ -155,8 +155,8 @@ export class InlineChatZoneWidget extends ZoneWidget {
this._updatePadding();
const info = this.editor.getLayoutInfo();
let width = info.contentWidth - info.verticalScrollbarWidth;
width = Math.min(850, width);
const width = info.contentWidth - info.verticalScrollbarWidth;
// width = Math.min(850, width);
this._dimension = new Dimension(width, heightInPixel);
this.widget.layout(this._dimension);