From 2d3175a832421cdf11d8c306e5f8bc12eb2de22a Mon Sep 17 00:00:00 2001 From: cahdeemer Date: Thu, 13 Jun 2024 11:43:13 -0400 Subject: [PATCH 01/12] fix margins in editor --- scss/editor/editor.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scss/editor/editor.scss b/scss/editor/editor.scss index 6bdcf832..9255e83b 100644 --- a/scss/editor/editor.scss +++ b/scss/editor/editor.scss @@ -16,6 +16,12 @@ font-family: Georgia, serif; } + // Reset this style so that the editor matches the email client output. + // stylelint-disable-next-line selector-max-compound-selectors + :where(body .is-layout-flow) > * { + margin-block-start: 0; + } + // Some blocks require extra specificity. .block-editor-block-list__layout.is-root-container { @import '@/scss/core-blocks/heading'; From a610a732e1543820f46b912b78efbb6385d6b17a Mon Sep 17 00:00:00 2001 From: cahdeemer Date: Fri, 14 Jun 2024 16:28:43 -0400 Subject: [PATCH 02/12] revise styles for read more button --- blocks/post-read-more/edit.tsx | 2 +- blocks/post-read-more/render.php | 2 +- scss/core-blocks/button.scss | 39 ++++++++++++++++++++++++-------- 3 files changed, 31 insertions(+), 12 deletions(-) diff --git a/blocks/post-read-more/edit.tsx b/blocks/post-read-more/edit.tsx index 2998127b..1398d993 100644 --- a/blocks/post-read-more/edit.tsx +++ b/blocks/post-read-more/edit.tsx @@ -32,7 +32,7 @@ export default function Edit({
setAttributes({ readMoreText: value })} /> diff --git a/blocks/post-read-more/render.php b/blocks/post-read-more/render.php index 34ff2a23..8b02396a 100644 --- a/blocks/post-read-more/render.php +++ b/blocks/post-read-more/render.php @@ -27,7 +27,7 @@
- +