Make WordPress Core


Ignore:
Timestamp:
08/24/2023 04:14:54 PM (16 months ago)
Author:
whyisjake
Message:

Bundled Themes: Ensure that pull quotes are able to use the correct font
size.

Pull quote bodies weren't inheriting the correct styling from the block
editor. This ensure that will happen.

Props nidhidhandhukiya, poena, varjodesigns, jivygraphics, whyisjake.
Fixes #57854.

File:
1 edited

Legend:

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

    r49726 r56451  
    88    border-color: currentColor;
    99    position: relative;
     10    font-weight: 700;
     11    font-style: var(--pullquote--font-style);
     12    font-family: var(--pullquote--font-family);
     13    letter-spacing: var(--pullquote--letter-spacing);
     14    line-height: var(--pullquote--line-height);
    1015
    1116    blockquote::before {
     
    2126
    2227    p {
    23         font-family: var(--pullquote--font-family);
    24         font-size: var(--pullquote--font-size);
    25         font-style: var(--pullquote--font-style);
    26         font-weight: 700;
    27         letter-spacing: var(--pullquote--letter-spacing);
    28         line-height: var(--pullquote--line-height);
     28        font-family: inherit;
     29        font-size: inherit;
     30        font-style: inherit;
     31        font-weight: inherit;
     32        letter-spacing: inherit;
     33        line-height: inherit;
    2934        margin: 0;
    3035    }
Note: See TracChangeset for help on using the changeset viewer.