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.

Built from https://develop.svn.wordpress.org/trunk@58907


git-svn-id: http://core.svn.wordpress.org/trunk@58303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-08-17 20:06:10 +00:00
parent e7e1e6549f
commit 8ea2151eec
3 changed files with 31 additions and 1 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";
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58906';
$wp_version = '6.7-alpha-58907';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.