@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.
|
@@ -5735,9 +5735,9 @@ class WebsyTable3 {
|
|
|
5735
5735
|
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)
|
|
5736
5736
|
const outerSize = outerEl.getBoundingClientRect()
|
|
5737
5737
|
if (this.sizes.totalWidth < outerSize.width) {
|
|
5738
|
-
this.sizes.totalWidth = 0
|
|
5739
|
-
this.sizes.totalNonPinnedWidth = 0
|
|
5740
5738
|
let equalWidth = (outerSize.width - this.sizes.totalWidth) / this.options.columns[this.options.columns.length - 1].length
|
|
5739
|
+
this.sizes.totalWidth = 0
|
|
5740
|
+
this.sizes.totalNonPinnedWidth = 0
|
|
5741
5741
|
this.options.columns[this.options.columns.length - 1].forEach((c, i) => {
|
|
5742
5742
|
// if (!c.width) {
|
|
5743
5743
|
// if (c.actualWidth < equalWidth) {
|
|
@@ -6225,9 +6225,9 @@ var WebsyTable3 = /*#__PURE__*/function () {
|
|
|
6225
6225
|
var outerSize = outerEl.getBoundingClientRect();
|
|
6226
6226
|
|
|
6227
6227
|
if (this.sizes.totalWidth < outerSize.width) {
|
|
6228
|
+
var equalWidth = (outerSize.width - this.sizes.totalWidth) / this.options.columns[this.options.columns.length - 1].length;
|
|
6228
6229
|
this.sizes.totalWidth = 0;
|
|
6229
6230
|
this.sizes.totalNonPinnedWidth = 0;
|
|
6230
|
-
var equalWidth = (outerSize.width - this.sizes.totalWidth) / this.options.columns[this.options.columns.length - 1].length;
|
|
6231
6231
|
this.options.columns[this.options.columns.length - 1].forEach(function (c, i) {
|
|
6232
6232
|
// if (!c.width) {
|
|
6233
6233
|
// if (c.actualWidth < equalWidth) {
|