Home

mweinbach / agent-coworker

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

fix(desktop): make file preview modal fully opaque and give docx a Word-like page layout

6 months ago

3eaaf2c
Authored
Max Weinbach4/15/2026, 10:52:54 PM
Override the semi-transparent overlay background with !bg-background for a solid, non-transparent modal. Restyle the docx renderer with Calibri font, 8.5in max-width page, 1in horizontal margins, Word-matching heading/body font sizes (20pt/16pt/13pt/11pt), and a subtle muted background behind the page to create a document-on-canvas feel.

Made-with: Cursor

Parente14066b

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