Skip to content

Commit

Permalink
Fix: Site editor clips body background style
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Oct 25, 2022
1 parent 47f24c2 commit 977cf53
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 977cf53

Please sign in to comment.