Make WordPress Core


Ignore:
Timestamp:
12/01/2020 07:25:43 PM (4 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.
Reviewed by desrosj, SergeyBiryukov.
Merges [49726] to the 5.6 branch.
Fixes #51526.

Location:
branches/5.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.6

  • branches/5.6/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/utilities/_editor.scss

    r49574 r49728  
    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.