Make WordPress Core

Changeset 58907


Ignore:
Timestamp:
08/17/2024 08:04:15 PM (7 weeks ago)
Author:
karmatosed
Message:

Twenty Sixteen: Fixes pullquote block typography not working.

The pullquote block was not reflecting the typography changes. This updated patch keeps the size and also fixes the line height.

Props pranitdugad, nidhidhandhukiya, jorbin, darshitrayaguru97, yurajsinj2211, ankit-k-gupta, poena, sabernhardt, shailu25.
Fixes #59919.

Location:
trunk/src/wp-content/themes/twentysixteen/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentysixteen/css/blocks.css

    r58777 r58907  
    217217}
    218218
     219.wp-block-pullquote[class*="-font-size"] blockquote,
     220.wp-block-pullquote[class*="-font-size"] blockquote p,
     221.wp-block-pullquote[class*="-font-size"] cite,
     222.wp-block-pullquote[style*="font-size"] blockquote,
     223.wp-block-pullquote[style*="font-size"] blockquote p,
     224.wp-block-pullquote[style*="font-size"] cite {
     225    font-size: inherit;
     226}
     227
     228.wp-block-pullquote[style*="line-height"] blockquote,
     229.wp-block-pullquote[style*="line-height"] blockquote p,
     230.wp-block-pullquote[style*="line-height"] cite {
     231    line-height: inherit;
     232}
     233
    219234.wp-block-pullquote cite:before {
    220235    content: "\2014\00a0";
  • trunk/src/wp-content/themes/twentysixteen/css/editor-blocks.css

    r58852 r58907  
    539539}
    540540
     541.wp-block-pullquote[class*="-font-size"] blockquote,
     542.wp-block-pullquote[class*="-font-size"] blockquote p,
     543.wp-block-pullquote[class*="-font-size"] cite,
     544.wp-block-pullquote[style*="font-size"] blockquote,
     545.wp-block-pullquote[style*="font-size"] blockquote p,
     546.wp-block-pullquote[style*="font-size"] cite {
     547    font-size: inherit;
     548}
     549   
     550.wp-block-pullquote[style*="line-height"] blockquote,
     551.wp-block-pullquote[style*="line-height"] blockquote p,
     552.wp-block-pullquote[style*="line-height"] cite {
     553    line-height: inherit;
     554}
     555
    541556.wp-block-pullquote .wp-block-pullquote__citation:before {
    542557    content: "\2014\00a0";
Note: See TracChangeset for help on using the changeset viewer.