From fe4582e599356cab4a4c4e15cee9079700c16494 Mon Sep 17 00:00:00 2001 From: Jerry Jones Date: Fri, 28 Feb 2020 11:13:12 -0600 Subject: [PATCH] Removes margins on cover blocks in iframe preview --- .../styles/starter-page-templates-editor.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/full-site-editing/full-site-editing-plugin/starter-page-templates/page-template-modal/styles/starter-page-templates-editor.scss b/apps/full-site-editing/full-site-editing-plugin/starter-page-templates/page-template-modal/styles/starter-page-templates-editor.scss index 3f48bf6806c6e..f7fd6818f1bfc 100644 --- a/apps/full-site-editing/full-site-editing-plugin/starter-page-templates/page-template-modal/styles/starter-page-templates-editor.scss +++ b/apps/full-site-editing/full-site-editing-plugin/starter-page-templates/page-template-modal/styles/starter-page-templates-editor.scss @@ -457,4 +457,11 @@ body.admin-bar:not( .is-fullscreen-mode ) .page-template-modal-screen-overlay { .swiper-pagination-bullet { border-radius: 100%; } + + // Fixes cover image spacing + .editor-styles-wrapper [data-block][data-type='core/cover'] { + margin-top: 0; + margin-bottom: 0; + } + }