Skip to content

Commit

Permalink
Site Editor: Fix gradient background color repeats
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Jun 9, 2023
1 parent e41ad64 commit a6f0c0e
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 @@ -226,7 +226,7 @@ function Iframe( {
// content.
const html =
'<!doctype html>' +
'<style>html{height:auto!important;}body{margin:0}</style>' +
'<style>html{height:auto!important;min-height:100%;}body{margin:0}</style>' +
( assets?.styles ?? '' );

const [ src, cleanup ] = useMemo( () => {
Expand Down

0 comments on commit a6f0c0e

Please sign in to comment.