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

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

Props mrfoxtalbot, kajalgohel, harshvaishnav, audrasjb.
Fixes #56050.

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


git-svn-id: http://core.svn.wordpress.org/trunk@53723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-09-14 20:51:16 +00:00
parent 9ea8cc678c
commit ae532c8ef2
3 changed files with 1 additions and 3 deletions

View File

@ -764,7 +764,6 @@ a:hover {
letter-spacing: var(--heading--letter-spacing-h2);
line-height: var(--heading--line-height-h2);
padding: 0;
max-width: inherit;
text-align: inherit;
}

View File

@ -49,7 +49,6 @@
letter-spacing: var(--heading--letter-spacing-h2);
line-height: var(--heading--line-height-h2);
padding: 0;
max-width: inherit; // undo opinionated styles
text-align: inherit;
&.has-text-align-left {

View File

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