diff --git a/packages/block-library/src/cover/editor.scss b/packages/block-library/src/cover/editor.scss index cf1a06196c4f6..c1265d8261b90 100644 --- a/packages/block-library/src/cover/editor.scss +++ b/packages/block-library/src/cover/editor.scss @@ -9,6 +9,7 @@ &.is-placeholder { min-height: auto !important; padding: 0 !important; + border: $border-width solid $gray-900; } &.components-placeholder h2 { @@ -117,8 +118,10 @@ background-attachment: scroll; } -.cover-block__cover-placeholder-container { - background: white; +// Ensure the placeholder container styles are consistent when resizing. +.wp-block-cover.is-placeholder .cover-block__cover-placeholder-container { + background: $white; + width: 100%; .block-editor-media-placeholder { box-shadow: none; }