You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Word viewer: refit the page when its panel is resized #2219
The Word viewer works out its fit-to-width zoom once, when the file loads (docx-viewer.tsx, counting the 232 px comment gutter when the file has comments). Since #2195 the right panel resizes (272–560 px, 400–640 px, wide views up to 800 px), so dragging its edge leaves the page at its old zoom. Studio's PDF viewer refits at page width through a ResizeObserver until the reader zooms by hand.
Done when: the Word viewer refits on a panel resize the same way, keeps a zoom the user set by hand, and the Known gap line in docs/architecture/studio.md is gone.
The Word viewer now refits its page whenever its panel is resized, the way the PDF viewer does, until the user zooms by hand with Ctrl+wheel or the zoom buttons. Opening a new document fits it again.
The Known gap line in docs/architecture/studio.md is gone in the same PR. Closing by hand: GitHub only auto-closes on a merge to the default branch, and we merge through dev.
Activity
docs: cover the work since 2.1.0 so others can pick it up
MannXo commentedon Oct 12, 2026
I can pick this up. Is it available?
fix(studio): refit the Word viewer when its panel is resized
MODSetter commentedon Oct 12, 2026
Fixed by #2233, merged into
dev, by @MannXo.The Word viewer now refits its page whenever its panel is resized, the way the PDF viewer does, until the user zooms by hand with Ctrl+wheel or the zoom buttons. Opening a new document fits it again.
The Known gap line in
docs/architecture/studio.mdis gone in the same PR. Closing by hand: GitHub only auto-closes on a merge to the default branch, and we merge throughdev.