Skip to content

Commit 7872d7b

Browse files
authored
Site editor: Fixed Clipped body background style (#45118)
1 parent af09ab1 commit 7872d7b

File tree

1 file changed

+1
-1
lines changed
  • packages/block-editor/src/components/iframe

1 file changed

+1
-1
lines changed

packages/block-editor/src/components/iframe/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ function Iframe(
282282

283283
head = (
284284
<>
285-
<style>{ 'body{margin:0}' }</style>
285+
<style>{ 'html{height:auto!important;}body{margin:0}' }</style>
286286
{ styles.map(
287287
( { tagName, href, id, rel, media, textContent } ) => {
288288
const TagName = tagName.toLowerCase();

0 commit comments

Comments
 (0)