Make WordPress Core

Changeset 58908


Ignore:
Timestamp:
08/17/2024 08:10:38 PM (2 years ago)
Author:
karmatosed
Message:

Twenty Twenty: Fixes pullquote block font size not changing.

The pullquote block was not reflecting the size changes. This also accounts for letter spacing in the editor.

Props kmadhak, SergeyBiryukov, nidhidhandhukiya, harshvaishnav, sabernhardt, shailu25.
Fixes #55975.

Location:
trunk/src/wp-content/themes/twentytwenty
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

    r58817 r58908  
    873873}
    874874
     875.editor-styles-wrapper .wp-block-pullquote[style*="letter-spacing"] p {
     876        letter-spacing: inherit;
     877}
     878
    875879.editor-styles-wrapper .wp-block-pullquote__citation,
    876880.editor-styles-wrapper .wp-block-pullquote cite,
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

    r58817 r58908  
    877877}
    878878
     879.editor-styles-wrapper .wp-block-pullquote[style*="letter-spacing"] p {
     880        letter-spacing: inherit;
     881}
     882
    879883.editor-styles-wrapper .wp-block-pullquote__citation,
    880884.editor-styles-wrapper .wp-block-pullquote cite,
  • trunk/src/wp-content/themes/twentytwenty/style-rtl.css

    r58824 r58908  
    32963296}
    32973297
     3298.wp-block-pullquote[class*="-font-size"] p,
     3299.wp-block-pullquote[style*="font-size"] p {
     3300        font-size: inherit;
     3301}
     3302
     3303.wp-block-pullquote[style*="font-weight"] p {
     3304        font-weight: inherit;
     3305}
     3306
     3307.wp-block-pullquote[style*="letter-spacing"] p {
     3308        letter-spacing: inherit;
     3309}
     3310
    32983311/* STYLE: SOLID BACKGROUND COLOR */
    32993312
  • trunk/src/wp-content/themes/twentytwenty/style.css

    r58824 r58908  
    33163316}
    33173317
     3318.wp-block-pullquote[class*="-font-size"] p,
     3319.wp-block-pullquote[style*="font-size"] p {
     3320        font-size: inherit;
     3321}
     3322
     3323.wp-block-pullquote[style*="font-weight"] p {
     3324        font-weight: inherit;
     3325}
     3326
     3327.wp-block-pullquote[style*="letter-spacing"] p {
     3328        letter-spacing: inherit;
     3329}
     3330
    33183331/* STYLE: SOLID BACKGROUND COLOR */
    33193332
Note: See TracChangeset for help on using the changeset viewer.