_post-content.scss 383 B

123456789
  1. // Needed until https://github.com/WordPress/gutenberg/issues/35267 is resolved.
  2. .wp-block-post-content { // Only apply these margins in the post content.
  3. p.wp-block.wp-block-paragraph, // This selector has been made extra specific to override the block gap being set in the editor.
  4. *[class^="wp-container"] > * + p,
  5. *[class^="wp-container"] > p + *,
  6. p {
  7. margin-top: 1em;
  8. }
  9. }