Make WordPress Core

Changeset 59476


Ignore:
Timestamp:
12/02/2024 05:42:44 AM (6 weeks ago)
Author:
poena
Message:

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.

Location:
trunk/src/wp-content/themes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentysixteen/css/editor-blocks.css

    r58907 r59476  
    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;
     
    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;
  • trunk/src/wp-content/themes/twentythirteen/css/editor-blocks.css

    r58731 r59476  
    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;
Note: See TracChangeset for help on using the changeset viewer.