mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
full width inline zone (#233215)
fixes https://github.com/microsoft/vscode/issues/233201#issuecomment-2460048937
This commit is contained in:
@@ -152,7 +152,7 @@ export class InlineChatZoneWidget extends ZoneWidget {
|
||||
protected override _doLayout(heightInPixel: number): void {
|
||||
|
||||
const info = this.editor.getLayoutInfo();
|
||||
let width = info.contentWidth - (info.glyphMarginWidth + info.decorationsWidth);
|
||||
let width = info.contentWidth + info.glyphMarginWidth - 8;
|
||||
width = Math.min(850, width);
|
||||
|
||||
this._dimension = new Dimension(width, heightInPixel);
|
||||
|
||||
Reference in New Issue
Block a user