Skip to content

Commit

Permalink
Remove the unnecessary padding from preview iframe body tags (#57748)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd authored Jan 12, 2024
1 parent b41c08f commit 3dba5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/revisions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function Revisions( { userConfig, blocks } ) {
{
// Forming a "block formatting context" to prevent margin collapsing.
// @see https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context
`.is-root-container { display: flow-root; } body { position: relative; padding: 32px; }`
`.is-root-container { display: flow-root; }`
}
</style>
<Disabled className="edit-site-revisions__example-preview__content">
Expand Down

0 comments on commit 3dba5c9

Please sign in to comment.