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/quote/_style.scss

    r49574 r49728  
    11.wp-block-quote {
     2    border-left: none;
     3
     4    &:before {
     5        content: "\201C";
     6        font-size: var(--quote--font-size);
     7        line-height: var(--quote--line-height);
     8        left: 8px;
     9    }
    210
    311    .wp-block-quote__citation,
     
    513    footer {
    614
    7         .has-background:not(.has-background-background-color) &,
    8         [class*="background-color"]:not(.has-background-background-color) &,
     15        .has-background &,
     16        [class*="background-color"] &,
    917        [style*="background-color"] &,
    1018        .wp-block-cover[style*="background-image"] & {
     
    2129        border-right: none;
    2230
     31        // Hide the left aligned quote.
    2332        &:before {
     33            display: none;
     34        }
     35
     36        // Align the quote left of the text.
     37        p:before {
    2438            content: "\201D";
    25             left: initial;
    26             right: calc(-0.5 * var(--global--spacing-horizontal));
     39            font-size: var(--quote--font-size);
     40            font-weight: normal;
     41            line-height: var(--quote--line-height);
     42            margin-right: 5px;
    2743        }
    2844    }
     
    5975        &.has-text-align-right {
    6076
     77            // Hide the left aligned quote.
    6178            &:before {
    62                 left: initial;
    63                 right: calc(-1 * var(--global--spacing-horizontal));
     79                display: none;
     80            }
     81
     82            // Align the quote left of the text.
     83            p:before {
     84                content: "\201D";
     85                font-size: var(--quote--font-size-large);
     86                font-weight: normal;
     87                line-height: var(--quote--line-height-large);
     88                margin-right: 10px;
    6489            }
    6590        }
Note: See TracChangeset for help on using the changeset viewer.