Skip to content

Commit c5a5d9b

Browse files
committed
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
1 parent cc5c5b8 commit c5a5d9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/wp-content/themes/twentysixteen/css/editor-blocks.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ figure[class*="wp-block-"] > figcaption {
617617

618618
/* Latest Comments */
619619

620-
.editor-block-list__block .wp-block-latest-comments__comment-meta a {
620+
.editor-styles-wrapper .wp-block-latest-comments__comment-meta a {
621621
box-shadow: none;
622622
font-weight: 700;
623623
text-decoration: none;
@@ -631,7 +631,7 @@ figure[class*="wp-block-"] > figcaption {
631631
line-height: 1.6153846154;
632632
}
633633

634-
.wp-block-latest-comments .wp-block-latest-comments__comment {
634+
.wp-block-latest-comments .wp-block-latest-comments__comment:not(:first-child) {
635635
border-top: 1px solid #d1d1d1;
636636
margin-bottom: 0;
637637
padding: 1.75em 0;

src/wp-content/themes/twentythirteen/css/editor-blocks.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ p.has-drop-cap:not(:focus)::first-letter {
437437
font-size: 16px;
438438
}
439439

440-
.wp-block-latest-comments .wp-block-latest-comments__comment {
440+
.wp-block-latest-comments .wp-block-latest-comments__comment:not(:first-child) {
441441
background: url(../images/dotted-line.png) repeat-x left top;
442442
margin-bottom: 0;
443443
padding: 24px 0;

0 commit comments

Comments
 (0)