mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Twenty Twenty-One: Use correct value for the global line-height CSS variable.
Props acerempel, mukesh27, dd32, poena. Fixes #52477. git-svn-id: https://develop.svn.wordpress.org/trunk@50273 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user