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.


git-svn-id: https://develop.svn.wordpress.org/trunk@58907 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tammie Lister 2024-08-17 20:04:15 +00:00
parent 39ce3bcae0
commit 487907150f
2 changed files with 30 additions and 0 deletions

View File

@ -216,6 +216,21 @@ p.has-drop-cap:not(:focus)::first-letter {
text-transform: none;
}
.wp-block-pullquote[class*="-font-size"] blockquote,
.wp-block-pullquote[class*="-font-size"] blockquote p,
.wp-block-pullquote[class*="-font-size"] cite,
.wp-block-pullquote[style*="font-size"] blockquote,
.wp-block-pullquote[style*="font-size"] blockquote p,
.wp-block-pullquote[style*="font-size"] cite {
font-size: inherit;
}
.wp-block-pullquote[style*="line-height"] blockquote,
.wp-block-pullquote[style*="line-height"] blockquote p,
.wp-block-pullquote[style*="line-height"] cite {
line-height: inherit;
}
.wp-block-pullquote cite:before {
content: "\2014\00a0";
}

View File

@ -538,6 +538,21 @@ figure[class*="wp-block-"] > figcaption {
color: inherit;
}
.wp-block-pullquote[class*="-font-size"] blockquote,
.wp-block-pullquote[class*="-font-size"] blockquote p,
.wp-block-pullquote[class*="-font-size"] cite,
.wp-block-pullquote[style*="font-size"] blockquote,
.wp-block-pullquote[style*="font-size"] blockquote p,
.wp-block-pullquote[style*="font-size"] cite {
font-size: inherit;
}
.wp-block-pullquote[style*="line-height"] blockquote,
.wp-block-pullquote[style*="line-height"] blockquote p,
.wp-block-pullquote[style*="line-height"] cite {
line-height: inherit;
}
.wp-block-pullquote .wp-block-pullquote__citation:before {
content: "\2014\00a0";
}