Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(desktop): render docx preview inline instead of in an iframe to eliminate double scrollbar

6 months ago

e14066b
Authored
Max Weinbach4/15/2026, 10:49:26 PM
Replace the fixed-height iframe with a direct div + dangerouslySetInnerHTML. Mammoth outputs safe semantic HTML (no scripts), so an iframe sandbox is unnecessary. The content now flows naturally inside the single outer scroll container.

Made-with: Cursor

Parent4c07073

1 file changed
  • apps/desktop/src/ui/FilePreviewModal.tsx+3−5