docs icon indicating copy to clipboard operation
docs copied to clipboard

🐛(docx) fix image overflow by limiting width to 600px during export

Open Ovgodd opened this issue 6 months ago • 1 comments

Purpose

Fix a bug causing images to overflow page width during DOCX export.

issue 1505

DocxImage

Proposal

  • [x] Calculate a final width capped at 600px using Math.min(previewWidth || width, MAX_WIDTH)
  • [x] Ensure proportional height scaling
  • [x] Prevent images from exceeding the page width when no preview width is defined

Ovgodd avatar Oct 28 '25 12:10 Ovgodd

Size Change: +2 B (0%)

Total Size: 3.68 MB

Filename Size Change
apps/impress/out/_next/static/e11e0634/_buildManifest.js 0 B -884 B (removed) 🏆
apps/impress/out/_next/static/e5608152/_buildManifest.js 883 B +883 B (new file) 🆕

compressed-size-action

github-actions[bot] avatar Oct 28 '25 12:10 github-actions[bot]