Twenty Thirteen & Twenty Sixteen: Correct the border of the latest comments block in the editor.

This change hides the top border of the first comment in the latest comments block, so that the design
in the editor and the front looks the same.

Props viralsampat, sabernhardt, aishwarryapande, parthvataliya, imranhasanraaz.
Fixes #62282.
Built from https://develop.svn.wordpress.org/trunk@59476


git-svn-id: http://core.svn.wordpress.org/trunk@58862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
poena 2024-12-02 05:44:19 +00:00
parent e6f29b4c0e
commit 8f8ffaab84
3 changed files with 4 additions and 4 deletions

View File

@ -617,7 +617,7 @@ figure[class*="wp-block-"] > figcaption {
/* Latest Comments */
.editor-block-list__block .wp-block-latest-comments__comment-meta a {
.editor-styles-wrapper .wp-block-latest-comments__comment-meta a {
box-shadow: none;
font-weight: 700;
text-decoration: none;
@ -631,7 +631,7 @@ figure[class*="wp-block-"] > figcaption {
line-height: 1.6153846154;
}
.wp-block-latest-comments .wp-block-latest-comments__comment {
.wp-block-latest-comments .wp-block-latest-comments__comment:not(:first-child) {
border-top: 1px solid #d1d1d1;
margin-bottom: 0;
padding: 1.75em 0;

View File

@ -437,7 +437,7 @@ p.has-drop-cap:not(:focus)::first-letter {
font-size: 16px;
}
.wp-block-latest-comments .wp-block-latest-comments__comment {
.wp-block-latest-comments .wp-block-latest-comments__comment:not(:first-child) {
background: url(../images/dotted-line.png) repeat-x left top;
margin-bottom: 0;
padding: 24px 0;

View File

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