sccoreui 5.9.75 → 5.9.76

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.
@@ -16,7 +16,7 @@ const ScMultiSelect = (props) => {
16
16
  let totalWidth = 0;
17
17
  for (let i = 0; i < selectedItems.length; i++) {
18
18
  totalWidth += selectedItems[i].offsetWidth; // Approximation, adjust as necessary
19
- if (totalWidth > containerWidth - 64) { // 20px buffer for ellipsis
19
+ if (totalWidth > containerWidth - 82) { // 20px buffer for ellipsis
20
20
  setShowCount(selectedItems.length - i);
21
21
  i = selectedItems.length;
22
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "5.9.75",
3
+ "version": "5.9.76",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",