@websy/websy-designs 1.9.6 → 1.9.7

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.
@@ -6764,11 +6764,14 @@ class WebsyTable3 {
6764
6764
  return // need to revisit this logic
6765
6765
  }
6766
6766
  let style = `width: ${sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth}px!important; `
6767
- let divStyle = style
6767
+ let divStyle = `width: ${sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth}px!important; `
6768
6768
  if (useWidths === true) {
6769
6769
  style += `max-width: ${sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth}px!important;`
6770
6770
  divStyle += `max-width: ${sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth}px!important;`
6771
6771
  }
6772
+ if (col.colspan > 1) {
6773
+ divStyle = `width: 100%;`
6774
+ }
6772
6775
  if (col.style) {
6773
6776
  style += col.style
6774
6777
  }
@@ -6422,11 +6422,14 @@ var WebsyTable3 = /*#__PURE__*/function () {
6422
6422
  }
6423
6423
 
6424
6424
  var style = "width: ".concat(sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth, "px!important; ");
6425
- var divStyle = style;
6425
+ var divStyle = "width: ".concat(sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth, "px!important; ");
6426
6426
  if (useWidths === true) {
6427
6427
  style += "max-width: ".concat(sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth, "px!important;");
6428
6428
  divStyle += "max-width: ".concat(sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth, "px!important;");
6429
6429
  }
6430
+ if (col.colspan > 1) {
6431
+ divStyle = "width: 100%;";
6432
+ }
6430
6433
  if (col.style) {
6431
6434
  style += col.style;
6432
6435
  }