mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
tweak width of inline chat content widget (#208422)
This commit is contained in:
parent
3318a66301
commit
2c28cd7185
|
@ -120,8 +120,8 @@ export class InlineChatContentWidget implements IContentWidget {
|
|||
beforeRender(): IDimension | null {
|
||||
|
||||
const contentWidth = this._editor.getLayoutInfo().contentWidth;
|
||||
const minWidth = Math.round(contentWidth * 0.33);
|
||||
const maxWidth = Math.round(contentWidth * 0.66);
|
||||
const minWidth = Math.round(contentWidth * 0.38);
|
||||
const maxWidth = Math.round(contentWidth * 0.82);
|
||||
|
||||
const width = clamp(220, minWidth, maxWidth);
|
||||
|
||||
|
|
Loading…
Reference in a new issue