mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Twenty Twenty-One: Use correct value for the global line-height
CSS variable.
Props acerempel, mukesh27, dd32, poena. Fixes #52477. Built from https://develop.svn.wordpress.org/trunk@50273 git-svn-id: http://core.svn.wordpress.org/trunk@49918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2fdd20da49
commit
8bd0709dba
@ -1180,75 +1180,75 @@ h6 strong {
|
||||
}
|
||||
|
||||
.wp-block-heading h1[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
h1[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.h1[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.wp-block-heading h2[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
h2[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.h2[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.wp-block-heading h3[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
h3[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.h3[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.wp-block-heading h4[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
h4[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.h4[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.wp-block-heading h5[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
h5[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.h5[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.wp-block-heading h6[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
h6[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.h6[style*="--wp--typography--line-height"] {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.wp-block-heading h1 {
|
||||
@ -1766,7 +1766,7 @@ dt {
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
p.has-background {
|
||||
|
@ -4011,7 +4011,7 @@ dd {
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: --global--line-height-body;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
p.has-background {
|
||||
|
@ -1055,7 +1055,7 @@ h5[style*="--wp--typography--line-height"],
|
||||
.wp-block-heading h6[style*="--wp--typography--line-height"],
|
||||
h6[style*="--wp--typography--line-height"],
|
||||
.h6[style*="--wp--typography--line-height"] {
|
||||
line-height: var(--wp--typography--line-height, --global--line-height-body);
|
||||
line-height: var(--wp--typography--line-height, var(--global--line-height-body));
|
||||
}
|
||||
|
||||
.wp-block-heading h1,
|
||||
@ -1415,7 +1415,7 @@ dt {
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: var(--wp--typography--line-height, --global--line-height-body);
|
||||
line-height: var(--wp--typography--line-height, var(--global--line-height-body));
|
||||
}
|
||||
|
||||
p.has-background {
|
||||
|
@ -25,7 +25,7 @@ h6,
|
||||
}
|
||||
|
||||
&[style*="--wp--typography--line-height"] {
|
||||
line-height: var(--wp--typography--line-height, --global--line-height-body);
|
||||
line-height: var(--wp--typography--line-height, var(--global--line-height-body));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
p {
|
||||
line-height: var(--wp--typography--line-height, --global--line-height-body);
|
||||
line-height: var(--wp--typography--line-height, var(--global--line-height-body));
|
||||
|
||||
&.has-background {
|
||||
padding: var(--global--spacing-unit);
|
||||
|
@ -1,6 +1,6 @@
|
||||
p {
|
||||
|
||||
line-height: var(--wp--typography--line-height, --global--line-height-body);
|
||||
line-height: var(--wp--typography--line-height, var(--global--line-height-body));
|
||||
|
||||
// inherits general font style set at <body>
|
||||
&.has-background {
|
||||
|
@ -2855,7 +2855,7 @@ dd {
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: var(--wp--typography--line-height, --global--line-height-body);
|
||||
line-height: var(--wp--typography--line-height, var(--global--line-height-body));
|
||||
}
|
||||
|
||||
p.has-background {
|
||||
|
@ -2865,7 +2865,7 @@ dd {
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: var(--wp--typography--line-height, --global--line-height-body);
|
||||
line-height: var(--wp--typography--line-height, var(--global--line-height-body));
|
||||
}
|
||||
|
||||
p.has-background {
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.7-beta1-50272';
|
||||
$wp_version = '5.7-beta1-50273';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user