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.


git-svn-id: https://develop.svn.wordpress.org/trunk@54164 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-09-14 20:49:46 +00:00
parent 3e9fd8235f
commit c2dcd6ef42
2 changed files with 0 additions and 2 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 {