Make WordPress Core

Ticket #61180: 61180.alt.patch

File 61180.alt.patch, 1.6 KB (added by sabernhardt, 2 years ago)

alternative: updates two selectors and removes the rulesets for the excerpt's font size

  • src/wp-content/themes/twentyseventeen/assets/css/blocks.css

     
    364364        text-transform: uppercase;
    365365}
    366366
    367 .editor-block-list__block .wp-block-latest-comments__comment-excerpt p {
    368         font-size: 14px;
    369         font-size: 0.875rem;
    370 }
    371 
    372367/* Query Loop & Post Template */
    373368
    374369.wp-block-query .wp-block-post-template > li {
  • src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css

     
    771771
    772772/* Latest Comments */
    773773
    774 .editor-block-list__block ol.wp-block-latest-comments > li:before {
     774.editor-styles-wrapper ol.wp-block-latest-comments > li:before {
    775775        content: '';
    776776}
    777777
     
    790790        margin-bottom: 0.4em;
    791791}
    792792
    793 .editor-block-list__block .wp-block-latest-comments__comment-meta a {
     793.editor-styles-wrapper .wp-block-latest-comments__comment-meta a {
    794794        -webkit-box-shadow: none;
    795795        box-shadow: none;
    796796        font-weight: 700;
     
    806806        text-transform: uppercase;
    807807}
    808808
    809 .editor-block-list__block .wp-block-latest-comments__comment-excerpt p {
    810         font-size: 14px;
    811         font-size: 0.875rem;
    812 }
    813 
    814809/* Latest Posts */
    815810
    816811.edit-post-visual-editor .wp-block-latest-posts.is-grid {