We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ffaa2e commit b9f323dCopy full SHA for b9f323d
editor/scaffolds/preview/index.tsx
@@ -167,7 +167,7 @@ export function Preview({
167
width: target.width,
168
height: target.height,
169
borderRadius: 1,
170
- backgroundColor: bg_color_str,
+ backgroundColor: !preview && bg_color_str, // clear bg after preview is rendered.
171
contain: "layout style paint",
172
}}
173
>
0 commit comments