@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.
@@ -6348,11 +6348,14 @@ class WebsyTable3 {
6348
6348
  return // need to revisit this logic
6349
6349
  }
6350
6350
  let style = `width: ${sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth}px!important; `
6351
- let divStyle = style
6351
+ let divStyle = `width: ${sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth}px!important; `
6352
6352
  if (useWidths === true) {
6353
6353
  style += `max-width: ${sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth}px!important;`
6354
6354
  divStyle += `max-width: ${sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth}px!important;`
6355
6355
  }
6356
+ if (col.colspan > 1) {
6357
+ divStyle = `width: 100%;`
6358
+ }
6356
6359
  if (col.style) {
6357
6360
  style += col.style
6358
6361
  }
@@ -6029,11 +6029,14 @@ var WebsyTable3 = /*#__PURE__*/function () {
6029
6029
  }
6030
6030
 
6031
6031
  var style = "width: ".concat(sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth, "px!important; ");
6032
- var divStyle = style;
6032
+ var divStyle = "width: ".concat(sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth, "px!important; ");
6033
6033
  if (useWidths === true) {
6034
6034
  style += "max-width: ".concat(sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth, "px!important;");
6035
6035
  divStyle += "max-width: ".concat(sizingColumns[colIndex].width || sizingColumns[colIndex].actualWidth, "px!important;");
6036
6036
  }
6037
+ if (col.colspan > 1) {
6038
+ divStyle = "width: 100%;";
6039
+ }
6037
6040
  if (col.style) {
6038
6041
  style += col.style;
6039
6042
  }