-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest Post block having spacing issue when we change post content from "Excerpt" to "Full Post" #66412
Comments
Hello @viralsampat-multidots, @ndiego , I suggest adding the same CSS to the diff --git a/packages/block-library/src/latest-posts/style.scss b/packages/block-library/src/latest-posts/style.scss
index 2a01d177ef..e7e90589c1 100644
--- a/packages/block-library/src/latest-posts/style.scss
+++ b/packages/block-library/src/latest-posts/style.scss
@@ -57,7 +57,7 @@
font-size: 0.8125em;
}
-.wp-block-latest-posts__post-excerpt {
+.wp-block-latest-posts__post-excerpt, .wp-block-latest-posts__post-full-content {
margin-top: 0.5em;
margin-bottom: 1em;
} |
Hello @ndiego I have checked above mentioned changes and it looks good. Do you want to add PR or I will make this change and create new PR? Thanks, |
Hello @ndiego I have updated my PR and made above mentioned change. Thanks, |
@viralsampat-multidots can you provide a link to your PR, or link it to this issue? |
LGTM 👍 |
Is the issue still open? If yes, can I work on it? |
As there was no activity on previous PR, I've added the change here #66740 Thanks 🙇 |
Description
Hell Team,
I have checked "Latest Post" block and found that there is some spacing issues between "Block Post Title" & "Block Post Content" when we change post content from "Excerpt" to "Full Post". There should some space between post title & post content.
I have checked this into various themes and here I have provided its screenshots.
Thanks,
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Screenshots:
Twenty Fourteen:
Twenty Fifteen
Twenty Sixteen
Twenty Seventeen
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: