reifyui 0.7.2 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/sheet/SheetGrid.jsx +3 -2
- package/styles/sheet.css +11 -6
package/dist/index.js
CHANGED
|
@@ -2336,7 +2336,7 @@ function SheetGrid({
|
|
|
2336
2336
|
}
|
|
2337
2337
|
return cls;
|
|
2338
2338
|
};
|
|
2339
|
-
const numW = Math.max(
|
|
2339
|
+
const numW = Math.max(48, 30 + String(rows.length || 1).length * 9);
|
|
2340
2340
|
const numStyle = { width: numW, minWidth: numW, maxWidth: numW };
|
|
2341
2341
|
const rowHeight = (row) => sizeDraft.row && sizeDraft.row[row.id] || row.height || void 0;
|
|
2342
2342
|
useEffect8(() => {
|