Twenty-Twenty: Fixes space between post content on front.

The post author and post date did not have space between them and the post content. This brings in 1em of top margin. Of note is that this only is if the first element is a paragraph that the issue was caused.  
  
Props abcd95, sabernhardt, desrosj, sainathpoojary, viralsampat.  
Fixes #62243.

Built from https://develop.svn.wordpress.org/trunk@59470


git-svn-id: http://core.svn.wordpress.org/trunk@58856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-11-28 18:41:16 +00:00
parent fd9519e7b2
commit 1806172d05
5 changed files with 17 additions and 1 deletions

View File

@ -1065,6 +1065,10 @@ hr.wp-block-separator.is-style-dots::before {
margin-top: 15px;
}
.wp-block-latest-posts__post-full-content > p:first-child {
margin-top: 1em;
}
/* Block: Shortcode -------------------------- */
.editor-styles-wrapper .wp-block-shortcode textarea {

View File

@ -1069,6 +1069,10 @@ hr.wp-block-separator.is-style-dots::before {
margin-top: 15px;
}
.wp-block-latest-posts__post-full-content > p:first-child {
margin-top: 1em;
}
/* Block: Shortcode -------------------------- */
.editor-styles-wrapper .wp-block-shortcode textarea {

View File

@ -3525,6 +3525,10 @@ figure.wp-block-table.is-style-stripes {
margin-top: 0;
}
.wp-block-latest-posts__post-full-content > p:first-child {
margin-top: 1em;
}
/* Block: Post Template ---------------- */
.wp-block-post-template,

View File

@ -3549,6 +3549,10 @@ figure.wp-block-table.is-style-stripes {
margin-top: 0;
}
.wp-block-latest-posts__post-full-content > p:first-child {
margin-top: 1em;
}
/* Block: Post Template ---------------- */
.wp-block-post-template,

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-alpha-59469';
$wp_version = '6.8-alpha-59470';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.