mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@54164 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3e9fd8235f
commit
c2dcd6ef42
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user