Make WordPress Core


Ignore:
Timestamp:
06/22/2021 08:13:46 PM (3 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/twentytwentyone/assets/sass/05-blocks/latest-posts/_style.scss

    r49574 r51205  
    1414            margin-bottom: 0;
    1515        }
     16    }
     17
     18    .widget-area &:not(.is-grid) > li {
     19        margin-top: 0;
     20        margin-bottom: 0;
    1621    }
    1722
     
    6469        line-height: var(--global--line-height-heading);
    6570        margin-bottom: calc(0.333 * var(--global--spacing-vertical));
     71    }
     72
     73    .widget-area & > li > a {
     74        font-size: var(--global--font-size-sm);
     75        margin-bottom: 0;
    6676    }
    6777
Note: See TracChangeset for help on using the changeset viewer.