tweak width of inline chat content widget (#208422)

This commit is contained in:
Johannes Rieken
2024-03-22 16:06:19 +01:00
committed by GitHub
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);