Skip to content

Commit

Permalink
Fix: Site editor clips body background style (#45261)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored Oct 25, 2022
1 parent 464788b commit a96f315
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 a96f315

Please sign in to comment.