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.

git-svn-id: https://develop.svn.wordpress.org/trunk@59476 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Carolina Nymark 2024-12-02 05:42:44 +00:00
parent cc5c5b85af
commit c5a5d9b094
2 changed files with 3 additions and 3 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;