fix(editor): increase edgeless text init min width (#10051)

This commit is contained in:
Flrande
2025-02-14 10:46:00 +00:00
parent 9048b38069
commit 9dc81ecb99
10 changed files with 30 additions and 22 deletions

View File

@@ -268,6 +268,7 @@ export class EdgelessTextBlockComponent extends GfxBlockComponent<EdgelessTextBl
boxShadow: editing ? '0px 0px 0px 2px rgba(30, 150, 235, 0.3)' : 'none',
fontWeight: '400',
lineHeight: 'var(--affine-line-height)',
minWidth: !hasMaxWidth ? '220px' : undefined,
};
return html`