Twenty Twenty: Fix Heading Block alignment when nested in Cover Block.

This brings consistency between block editor and front-end rendering.

Props mrfoxtalbot, tahmidulkarim, NomNom99, audrasjb.
Fixes #56049.

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


git-svn-id: http://core.svn.wordpress.org/trunk@53722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-09-14 19:43:13 +00:00
parent bfcd054304
commit 9ea8cc678c
3 changed files with 3 additions and 5 deletions

View File

@ -765,8 +765,7 @@ hr.wp-block-separator.is-style-dots::before {
.wp-block-cover-image .wp-block-cover-text, .wp-block-cover-image .wp-block-cover-text,
.wp-block-cover-image h2, .wp-block-cover-image h2,
.wp-block-cover .wp-block-cover-image-text, .wp-block-cover .wp-block-cover-image-text,
.wp-block-cover .wp-block-cover-text, .wp-block-cover .wp-block-cover-text {
.wp-block-cover h2 {
max-width: 100%; max-width: 100%;
} }

View File

@ -769,8 +769,7 @@ hr.wp-block-separator.is-style-dots::before {
.wp-block-cover-image .wp-block-cover-text, .wp-block-cover-image .wp-block-cover-text,
.wp-block-cover-image h2, .wp-block-cover-image h2,
.wp-block-cover .wp-block-cover-image-text, .wp-block-cover .wp-block-cover-image-text,
.wp-block-cover .wp-block-cover-text, .wp-block-cover .wp-block-cover-text {
.wp-block-cover h2 {
max-width: 100%; max-width: 100%;
} }

View File

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