Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix(uni): scale uni frame (#2955)
Dushusirba7902f311b3
diff --git a/packages-experimental/uniui/src/services/unit-grid/unit-grid.service.ts b/packages-experimental/uniui/src/services/unit-grid/unit-grid.service.tsindex 2c35f33f66..27bff5afaf 100644--- a/packages-experimental/uniui/src/services/unit-grid/unit-grid.service.ts+++ b/packages-experimental/uniui/src/services/unit-grid/unit-grid.service.ts@@ -167,14 +167,14 @@ export class UnitGridService extends Disposable implements IUnitGridService {type,},style: {- width: '660px',- height: '600px',+ width: '940px',+ height: '854px',display: 'flex',borderRadius: '8px',border: '1px solid #ccc',backgroundColor: '#fff',},- position: { x: (index % MAX_COUNT_IN_ROW) * 750, y: Math.floor(index / MAX_COUNT_IN_ROW) * 750 + 40 },+ position: { x: (index % MAX_COUNT_IN_ROW) * 1050, y: Math.floor(index / MAX_COUNT_IN_ROW) * 950 + 40 },};this._unitGrid.push(newNode);