Skip to content

Commit

Permalink
Site editor: Fixed Clipped body background style (#45118)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Oct 24, 2022
1 parent af09ab1 commit 7872d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/iframe/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ function Iframe(

head = (
<>
<style>{ 'body{margin:0}' }</style>
<style>{ 'html{height:auto!important;}body{margin:0}' }</style>
{ styles.map(
( { tagName, href, id, rel, media, textContent } ) => {
const TagName = tagName.toLowerCase();
Expand Down

0 comments on commit 7872d7b

Please sign in to comment.