Make WordPress Core


Ignore:
Timestamp:
12/01/2020 07:07:43 PM (6 years ago)
Author:
desrosj
Message:

Twenty Twenty-One: Sync the latest changes for 5.6 RC2.

This will be the final sync from GitHub before placing that repository into read-only mode. All further changes should now flow entirely through Trac.

For a full list of changes since [49633], see https://github.com/WordPress/twentytwentyone/compare/1d5a895...53acd9b.

Props poena, luminuu, kjellr, ryelle, allancole, melchoyce, felipeelia, aljullu, kebbet, chaton666, Clorith, mkaz, ingereck, paaljoachim.
See #51526.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/utilities/_editor.scss

    r49574 r49726  
    2727
    2828// Gutenberg text color options
    29 
    3029.has-primary-color[class] {
    3130        color: var(--global--color-primary);
     
    3938.has-background {
    4039
    41         &:not(.has-background-background-color) a:not(.wp-block-button__link),
     40        a,
    4241        p,
    4342        h1,
     
    7170}
    7271
    73 /**
    74  * Spacing Overrides
    75  */
    76 
     72// Spacing Overrides
    7773[data-block] {
    7874        margin-top: var(--global--spacing-vertical);
    7975        margin-bottom: var(--global--spacing-vertical);
    80 
    81         [data-block]:first-child {
    82                 margin-top: 0;
    83         }
    84 
    85         // Needs to be the second-last child to avoid applying this to the appender.
    86         [data-block]:nth-last-child(2) {
    87                 margin-bottom: 0;
    88         }
    8976}
    9077
    91 /* Block Alignments */
     78// Block Alignments
    9279.wp-block {
    9380
     
    142129        }
    143130}
     131
     132// Remove the border of blockquotes inside the classic block.
     133.wp-block-freeform.block-library-rich-text__tinymce blockquote {
     134        border: none;
     135}
     136
     137// Adjust the position of the quote symbol for blockquotes inside the classic block.
     138.wp-block-freeform.block-library-rich-text__tinymce blockquote:before {
     139        left: 5px;
     140}
Note: See TracChangeset for help on using the changeset viewer.