@syncfusion/ej2-schedule 19.4.41 → 19.4.42

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.
@@ -21810,7 +21810,7 @@ var ViewBase = /** @__PURE__ @class */ (function () {
21810
21810
  if (this.isTimelineView()) {
21811
21811
  var colElements = this.getColElements();
21812
21812
  var contentBody = this.element.querySelector('.' + CONTENT_TABLE_CLASS + ' tbody');
21813
- var colWidth_1 = Math.ceil(contentBody.offsetWidth / (colElements.length / 2));
21813
+ var colWidth_1 = (contentBody.getBoundingClientRect().width / (colElements.length / 2));
21814
21814
  colElements.forEach(function (col) { return setStyleAttribute(col, { 'width': formatUnit(colWidth_1) }); });
21815
21815
  if (content.offsetHeight !== content.clientHeight) {
21816
21816
  var resourceColumn = this.parent.element.querySelector('.' + RESOURCE_COLUMN_WRAP_CLASS);