@websy/websy-designs 1.3.10 → 1.3.11

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.
@@ -6100,9 +6100,9 @@ class WebsyTable3 {
6100
6100
  this.sizes.totalNonPinnedWidth = this.options.columns[this.options.columns.length - 1].filter((c, i) => i >= this.pinnedColumns).reduce((a, b) => a + (b.width || b.actualWidth), 0)
6101
6101
  const outerSize = outerEl.getBoundingClientRect()
6102
6102
  if (this.sizes.totalWidth < outerSize.width) {
6103
- this.sizes.totalWidth = 0
6104
- this.sizes.totalNonPinnedWidth = 0
6105
6103
  let equalWidth = (outerSize.width - this.sizes.totalWidth) / this.options.columns[this.options.columns.length - 1].length
6104
+ this.sizes.totalWidth = 0
6105
+ this.sizes.totalNonPinnedWidth = 0
6106
6106
  this.options.columns[this.options.columns.length - 1].forEach((c, i) => {
6107
6107
  // if (!c.width) {
6108
6108
  // if (c.actualWidth < equalWidth) {
@@ -6637,9 +6637,9 @@ var WebsyTable3 = /*#__PURE__*/function () {
6637
6637
  var outerSize = outerEl.getBoundingClientRect();
6638
6638
 
6639
6639
  if (this.sizes.totalWidth < outerSize.width) {
6640
+ var equalWidth = (outerSize.width - this.sizes.totalWidth) / this.options.columns[this.options.columns.length - 1].length;
6640
6641
  this.sizes.totalWidth = 0;
6641
6642
  this.sizes.totalNonPinnedWidth = 0;
6642
- var equalWidth = (outerSize.width - this.sizes.totalWidth) / this.options.columns[this.options.columns.length - 1].length;
6643
6643
  this.options.columns[this.options.columns.length - 1].forEach(function (c, i) {
6644
6644
  // if (!c.width) {
6645
6645
  // if (c.actualWidth < equalWidth) {