Skip to content

fix(web/mobile): render project images in nested markdown file previews and harden markdown images - #7857

Closed
flamboh wants to merge 13 commits into
pingdotgg:mainfrom
flamboh:t3code/fix-readme-image-path
Closed

flamboh wants to merge 13 commits into
pingdotgg:mainfrom
flamboh:t3code/fix-readme-image-path

fix(web): keep inline markdown images proportional

f632e92
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Correctness Check succeeded Aug 23, 2026 in 1m 18s

No issues identified (7 code objects reviewed).

• Merge Base: 2433f4c
• Head: f632e92

Details

✅ File Path Comments Posted Reason
➖ apps/web/src/components/ChatMarkdown.workspace-images.test.tsx Excluded by default ignore patterns
✅ apps/web/src/components/ChatMarkdown.tsx 0

Filtered Issues Details

apps/web/src/components/ChatMarkdown.tsx
  • line 1010: authoredImageSizeStyle returns only the synthesized width/height style (or undefined), and the image renderer assigns that result as style after spreading props. Consequently any existing authored props.style from raw HTML is overwritten: for example, <img style="border-radius:50%" ...> loses its styling, and combining style with width/height loses every non-sizing declaration. Merge the synthesized sizing fields with props.style instead of replacing it. [ Already posted ]