Skip to content

Commit 7fc5c6a

Browse files
authored
Fix wrong width of chat input in chat editors (microsoft#186580)
1 parent 1c21765 commit 7fc5c6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/vs/workbench/contrib/chat/browser/chatEditor.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ export class ChatEditor extends EditorPane {
117117

118118
override layout(dimension: dom.Dimension, position?: dom.IDomPosition | undefined): void {
119119
if (this.widget) {
120-
const width = Math.min(dimension.width, 600);
121-
this.widget.layout(dimension.height, width);
120+
this.widget.layout(dimension.height, dimension.width);
122121
}
123122
}
124123
}

0 commit comments

Comments
 (0)