Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

Fix thumbnail previews not showing CSS

Claude4bef1671bd94
diff --git a/frontend/src/components/variants/Variants.tsx b/frontend/src/components/variants/Variants.tsx
index 39b17783..12183496 100644
--- a/frontend/src/components/variants/Variants.tsx
+++ b/frontend/src/components/variants/Variants.tsx
@@ -29,7 +29,7 @@ function VariantThumbnail({ code }: VariantThumbnailProps) {
height: "800px",
transform: "scale(0.1)",
}}
- sandbox="allow-same-origin"
+ sandbox="allow-scripts allow-same-origin"
/>
</div>
);