mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 06:55:28 +00:00
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:
parent
9ea8cc678c
commit
ae532c8ef2
@ -764,7 +764,6 @@ a:hover {
|
|||||||
letter-spacing: var(--heading--letter-spacing-h2);
|
letter-spacing: var(--heading--letter-spacing-h2);
|
||||||
line-height: var(--heading--line-height-h2);
|
line-height: var(--heading--line-height-h2);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
max-width: inherit;
|
|
||||||
text-align: inherit;
|
text-align: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,7 +49,6 @@
|
|||||||
letter-spacing: var(--heading--letter-spacing-h2);
|
letter-spacing: var(--heading--letter-spacing-h2);
|
||||||
line-height: var(--heading--line-height-h2);
|
line-height: var(--heading--line-height-h2);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
max-width: inherit; // undo opinionated styles
|
|
||||||
text-align: inherit;
|
text-align: inherit;
|
||||||
|
|
||||||
&.has-text-align-left {
|
&.has-text-align-left {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user