Make WordPress Core

Ticket #55975: 55975.1.patch

File 55975.1.patch, 1015 bytes (added by sabernhardt, 16 months ago)

inherits font size when the block has custom class or inline style (on front end)

  • src/wp-content/themes/twentytwenty/style-rtl.css

     
    32863286        margin-left: 0;
    32873287}
    32883288
     3289.wp-block-pullquote[class*="-font-size"] p,
     3290.wp-block-pullquote[style*="font-size"] p {
     3291        font-size: inherit;
     3292}
     3293
    32893294/* STYLE: SOLID BACKGROUND COLOR */
    32903295
    32913296.wp-block-pullquote.is-style-solid-color {
  • src/wp-content/themes/twentytwenty/style.css

     
    33063306        margin-right: 0;
    33073307}
    33083308
     3309.wp-block-pullquote[class*="-font-size"] p,
     3310.wp-block-pullquote[style*="font-size"] p {
     3311        font-size: inherit;
     3312}
     3313
    33093314/* STYLE: SOLID BACKGROUND COLOR */
    33103315
    33113316.wp-block-pullquote.is-style-solid-color {