@newview/report-tools 1.0.2 → 1.0.3

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.
@@ -345144,6 +345144,7 @@ class reportTool extends BaseInstance {
345144
345144
  },
345145
345145
  style: {
345146
345146
  width: `${layoutData.columnWidths[colIndex]}px`,
345147
+ maxWidth: `${layoutData.columnWidths[colIndex]}px`,
345147
345148
  height: `${layoutData.rowHeights[rowIndex]}px`,
345148
345149
  contentWidth: colWidth,
345149
345150
  contentHeight: colHeight,
@@ -345158,6 +345159,8 @@ class reportTool extends BaseInstance {
345158
345159
  verticalAlign: tdObj.vt == 0 ? "middle" : tdObj.vt == 1 ? "top" : "bottom",
345159
345160
  textAlign: tdObj.ht == 0 ? "center" : tdObj.ht == 1 ? "start" : "end",
345160
345161
  whiteSpace: "pre-line",
345162
+ wordWrap: "break-word",
345163
+ padding: "0 10px",
345161
345164
  // whiteSpace: 'pre-wrap',
345162
345165
  // border: this.getTdBorder(layoutData, rowIndex, colIndex, 'border'),
345163
345166
  borderTop: this.getTdBorder(layoutData, rowIndex, colIndex, "border-top"),