🎥 Make videos programmatically with React
`remotion`: Make `style` work correctly for `<HtmlInCanvas>`
Jonny Burgerf75af635724c
diff --git a/packages/core/src/HtmlInCanvas.tsx b/packages/core/src/HtmlInCanvas.tsxindex e93dcc7311..1884da9f1a 100644--- a/packages/core/src/HtmlInCanvas.tsx+++ b/packages/core/src/HtmlInCanvas.tsx@@ -486,9 +486,8 @@ const HtmlInCanvasInner = forwardRef<return {width,height,- ...style,};- }, [width, height, style]);+ }, [width, height]);if (isInsideAncestorHtmlInCanvas) {throw new Error(@@ -505,7 +504,12 @@ const HtmlInCanvasInner = forwardRef<{...sequenceProps}><HtmlInCanvasAncestorContext.Provider value>- <canvas ref={setLayoutCanvasRef} width={width} height={height}>+ <canvas+ ref={setLayoutCanvasRef}+ width={width}+ height={height}+ style={style}+ ><div ref={divRef} style={innerStyle}>{children}</div>