Skip to content

Commit 922a8ec

Browse files
committed
style
1 parent b498484 commit 922a8ec

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "sqlpage spreadsheet component",
55
"source": "./src/spreadsheet_component.html",
6-
"browserslist": "> 0.5%, last 2 versions, not dead",
6+
"browserslist": "> 3%, last 2 versions, not dead",
77
"scripts": {
88
"build": "parcel build --no-optimize --public-url /dist/",
99
"dev": "parcel watch --public-url /dist/",
@@ -37,6 +37,6 @@
3737
"zod": "^3.23.8"
3838
},
3939
"@parcel/bundler-default": {
40-
"maxParallelRequests": 1
40+
"minBundleSize": 60000
4141
}
4242
}

src/spreadsheet.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ async function setupUniver(container: HTMLElement) {
9595
});
9696

9797
univer.registerPlugin((await render_engine).UniverRenderEnginePlugin);
98+
container.className = "sqlpage_spreadsheet";
9899
univer.registerPlugin((await ui_plugin).UniverUIPlugin, { container });
99100
univer.registerPlugin((await sheets_plugin).UniverSheetsPlugin);
100101
univer.registerPlugin((await sheets_ui_plugin).UniverSheetsUIPlugin);

0 commit comments

Comments
 (0)