Files
hyperframes/packages
Miguel Ángel 7bd8086387 fix(runtime): normalize html/body margin in runtime to eliminate white bars in renders
The browser's default 8px body margin was causing white bars at the top
and left edges of rendered videos. Previously normalizePreviewViewport
(a React call on the studio iframe) handled this for preview, but the
render pipeline never called it — creating a preview/render parity gap.

Fix: apply margin:0 / padding:0 / overflow:hidden on documentElement and
body at the start of initSandboxRuntimeModular, so both preview and render
contexts get identical normalization from the same code path.
2026-03-30 23:04:56 +02:00
..