Make WordPress Core


Ignore:
Timestamp:
06/22/2021 08:13:46 PM (4 years ago)
Author:
ryelle
Message:

Bundled Themes: Improve display of blocks in widget areas.

Fixes minor styling issues, mostly font size and spacing, in blocks used in widget areas. Changes made to Twenty Ten, Twenty Thirteen, Twenty Fourteen, Twenty Sixteen, Twenty Seventeen, and Twenty Twenty-One.

Props noisysocks, sumaiyasiddika, danieldudzic, scruffian, jffng.
Fixes #53422.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/assets/css/blocks.css

    r50347 r51205  
    307307}
    308308
     309.widget-area .wp-block-latest-comments article {
     310    margin-bottom: 1em;
     311}
     312
    309313.blog:not(.has-sidebar) #primary .wp-block-latest-comments article,
    310314.archive:not(.page-one-column):not(.has-sidebar) #primary .wp-block-latest-comments article,
     
    323327    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 1);
    324328
     329}
     330
     331.wp-block-latest-comments .wp-block-latest-comments__comment {
     332    border-top: none;
    325333}
    326334
     
    352360}
    353361
     362/* Query Loop & Post Template */
     363
     364.wp-block-query .wp-block-post-template > li {
     365    border-top: none;
     366}
     367
    354368/*--------------------------------------------------------------
    3553696.0 Blocks - Colors
Note: See TracChangeset for help on using the changeset viewer.