message: fix the width of textLayer when trim mode.
diff: @@ -418,7 +418,8 @@ const trimPage = (page) => {
  const m = w.match(/(\d+)/);
  if (m) {
  // add -4px to ensure that no horizontal scroll bar appears.
  - const width = ( Math.floor(Number(m[1])/trimScale) - 4 ) + 'px';
  + const widthNum = Math.floor(Number(m[1])/trimScale) - 4
  + const width = widthNum + 'px';
  page.style.width = width;
  canvasWrapper.style.width = width;
  const offsetX = - Number(m[1]) * (1 - 1/trimScale) / 2;
  @@ -426,7 +427,7 @@ const trimPage = (page) => {
  canvas.style.position = 'relative';
  canvas.setAttribute('data-is-trimmed', 'trimmed');
  if ( textLayer && textLayer.dataset.isTrimmed !== 'trimmed' ) {
  - textLayer.style.width = width;
  + textLayer.style.width = widthNum - offsetX + 'px';
  textLayer.style.left = offsetX + 'px';
  textLayer.setAttribute('data-is-trimmed', 'trimmed');
  }
  