@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.
@@ -21086,7 +21086,7 @@ class ViewBase {
21086
21086
  if (this.isTimelineView()) {
21087
21087
  const colElements = this.getColElements();
21088
21088
  const contentBody = this.element.querySelector('.' + CONTENT_TABLE_CLASS + ' tbody');
21089
- const colWidth = Math.ceil(contentBody.offsetWidth / (colElements.length / 2));
21089
+ const colWidth = (contentBody.getBoundingClientRect().width / (colElements.length / 2));
21090
21090
  colElements.forEach((col) => setStyleAttribute(col, { 'width': formatUnit(colWidth) }));
21091
21091
  if (content.offsetHeight !== content.clientHeight) {
21092
21092
  const resourceColumn = this.parent.element.querySelector('.' + RESOURCE_COLUMN_WRAP_CLASS);