Skip to content

Commit 2c28cd7

Browse files
authored
tweak width of inline chat content widget (microsoft#208422)
1 parent 3318a66 commit 2c28cd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ export class InlineChatContentWidget implements IContentWidget {
120120
beforeRender(): IDimension | null {
121121

122122
const contentWidth = this._editor.getLayoutInfo().contentWidth;
123-
const minWidth = Math.round(contentWidth * 0.33);
124-
const maxWidth = Math.round(contentWidth * 0.66);
123+
const minWidth = Math.round(contentWidth * 0.38);
124+
const maxWidth = Math.round(contentWidth * 0.82);
125125

126126
const width = clamp(220, minWidth, maxWidth);
127127

0 commit comments

Comments
 (0)