Skip to content

Commit

Permalink
Removes margins on cover blocks in iframe preview
Browse files Browse the repository at this point in the history
  • Loading branch information
jeryj committed Feb 28, 2020
1 parent fbf80e0 commit fe4582e
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

}

1 comment on commit fe4582e

@obenland
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should that spacing always be removed or only when a cover clock follows another cover block?

Please sign in to comment.