@devries-cameron20 / t3code-1 / commits / 3a1dfb7acb
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): HTML file previews use the current canvas color (#37072)

Yash Singh committed Nov 15, 2026 at 00:38 UTC 3a1dfb7acb644347d99b403e4bebd88360304c04
1 file changed +2 -1
apps/web/src/components/files/BrowserDocumentFrame.tsx
+2 -1
@@ -168,7 +168,8 @@ function FileDocument(props: { readonly src: string; readonly title: string }) {
168 <iframe
169 src={src}
170 title={props.title}
171 - className="min-h-0 flex-1 border-0 bg-white"
171 + className="min-h-0 flex-1 border-0"
172 + style={{ backgroundColor: "Canvas" }}
173 sandbox="allow-scripts allow-forms allow-popups allow-downloads"
174 />
175 );