Make WordPress Core

Changeset 50273


Ignore:
Timestamp:
02/09/2021 05:08:31 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty-One: Use correct value for the global line-height CSS variable.

Props acerempel, mukesh27, dd32, poena.
Fixes #52477.

Location:
trunk/src/wp-content/themes/twentytwentyone
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/assets/css/ie-editor.css

    r50262 r50273  
    11811181
    11821182.wp-block-heading h1[style*="--wp--typography--line-height"] {
    1183     line-height: --global--line-height-body;
     1183    line-height: 1.7;
    11841184}
    11851185
    11861186h1[style*="--wp--typography--line-height"] {
    1187     line-height: --global--line-height-body;
     1187    line-height: 1.7;
    11881188}
    11891189
    11901190.h1[style*="--wp--typography--line-height"] {
    1191     line-height: --global--line-height-body;
     1191    line-height: 1.7;
    11921192}
    11931193
    11941194.wp-block-heading h2[style*="--wp--typography--line-height"] {
    1195     line-height: --global--line-height-body;
     1195    line-height: 1.7;
    11961196}
    11971197
    11981198h2[style*="--wp--typography--line-height"] {
    1199     line-height: --global--line-height-body;
     1199    line-height: 1.7;
    12001200}
    12011201
    12021202.h2[style*="--wp--typography--line-height"] {
    1203     line-height: --global--line-height-body;
     1203    line-height: 1.7;
    12041204}
    12051205
    12061206.wp-block-heading h3[style*="--wp--typography--line-height"] {
    1207     line-height: --global--line-height-body;
     1207    line-height: 1.7;
    12081208}
    12091209
    12101210h3[style*="--wp--typography--line-height"] {
    1211     line-height: --global--line-height-body;
     1211    line-height: 1.7;
    12121212}
    12131213
    12141214.h3[style*="--wp--typography--line-height"] {
    1215     line-height: --global--line-height-body;
     1215    line-height: 1.7;
    12161216}
    12171217
    12181218.wp-block-heading h4[style*="--wp--typography--line-height"] {
    1219     line-height: --global--line-height-body;
     1219    line-height: 1.7;
    12201220}
    12211221
    12221222h4[style*="--wp--typography--line-height"] {
    1223     line-height: --global--line-height-body;
     1223    line-height: 1.7;
    12241224}
    12251225
    12261226.h4[style*="--wp--typography--line-height"] {
    1227     line-height: --global--line-height-body;
     1227    line-height: 1.7;
    12281228}
    12291229
    12301230.wp-block-heading h5[style*="--wp--typography--line-height"] {
    1231     line-height: --global--line-height-body;
     1231    line-height: 1.7;
    12321232}
    12331233
    12341234h5[style*="--wp--typography--line-height"] {
    1235     line-height: --global--line-height-body;
     1235    line-height: 1.7;
    12361236}
    12371237
    12381238.h5[style*="--wp--typography--line-height"] {
    1239     line-height: --global--line-height-body;
     1239    line-height: 1.7;
    12401240}
    12411241
    12421242.wp-block-heading h6[style*="--wp--typography--line-height"] {
    1243     line-height: --global--line-height-body;
     1243    line-height: 1.7;
    12441244}
    12451245
    12461246h6[style*="--wp--typography--line-height"] {
    1247     line-height: --global--line-height-body;
     1247    line-height: 1.7;
    12481248}
    12491249
    12501250.h6[style*="--wp--typography--line-height"] {
    1251     line-height: --global--line-height-body;
     1251    line-height: 1.7;
    12521252}
    12531253
     
    17671767
    17681768p {
    1769     line-height: --global--line-height-body;
     1769    line-height: 1.7;
    17701770}
    17711771
  • trunk/src/wp-content/themes/twentytwentyone/assets/css/ie.css

    r50261 r50273  
    40124012
    40134013p {
    4014     line-height: --global--line-height-body;
     4014    line-height: 1.7;
    40154015}
    40164016
  • trunk/src/wp-content/themes/twentytwentyone/assets/css/style-editor.css

    r50262 r50273  
    10561056h6[style*="--wp--typography--line-height"],
    10571057.h6[style*="--wp--typography--line-height"] {
    1058     line-height: var(--wp--typography--line-height, --global--line-height-body);
     1058    line-height: var(--wp--typography--line-height, var(--global--line-height-body));
    10591059}
    10601060
     
    14161416
    14171417p {
    1418     line-height: var(--wp--typography--line-height, --global--line-height-body);
     1418    line-height: var(--wp--typography--line-height, var(--global--line-height-body));
    14191419}
    14201420
  • trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/heading/_editor.scss

    r49574 r50273  
    2626
    2727    &[style*="--wp--typography--line-height"] {
    28         line-height: var(--wp--typography--line-height, --global--line-height-body);
     28        line-height: var(--wp--typography--line-height, var(--global--line-height-body));
    2929    }
    3030}
  • trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/paragraph/_editor.scss

    r49574 r50273  
    11p {
    2     line-height: var(--wp--typography--line-height, --global--line-height-body);
     2    line-height: var(--wp--typography--line-height, var(--global--line-height-body));
    33
    44    &.has-background {
  • trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/paragraph/_style.scss

    r49574 r50273  
    11p {
    22
    3     line-height: var(--wp--typography--line-height, --global--line-height-body);
     3    line-height: var(--wp--typography--line-height, var(--global--line-height-body));
    44
    55    // inherits general font style set at <body>
  • trunk/src/wp-content/themes/twentytwentyone/style-rtl.css

    r50261 r50273  
    28562856
    28572857p {
    2858     line-height: var(--wp--typography--line-height, --global--line-height-body);
     2858    line-height: var(--wp--typography--line-height, var(--global--line-height-body));
    28592859}
    28602860
  • trunk/src/wp-content/themes/twentytwentyone/style.css

    r50261 r50273  
    28662866
    28672867p {
    2868     line-height: var(--wp--typography--line-height, --global--line-height-body);
     2868    line-height: var(--wp--typography--line-height, var(--global--line-height-body));
    28692869}
    28702870
Note: See TracChangeset for help on using the changeset viewer.