Make WordPress Core


Ignore:
Timestamp:
04/18/2019 06:01:56 AM (5 years ago)
Author:
pento
Message:

CSS: Remove the units from line-height properties in common.css.

Props ianbelanger, talldanwp.
Fixes #46493.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r44791 r45243  
    587587    margin: 0;
    588588    padding: 9px 0 4px 0;
    589     line-height: 29px;
     589    line-height: 1.3;
    590590}
    591591
     
    915915#delete-action {
    916916    float: left;
    917     line-height: 28px;
     917    line-height: 2.1;
    918918}
    919919
    920920#delete-link {
    921     line-height: 28px;
     921    line-height: 2.1;
    922922    vertical-align: middle;
    923923    text-align: left;
     
    932932    text-align: right;
    933933    float: right;
    934     line-height: 23px;
     934    line-height: 1.9;
    935935}
    936936
     
    12071207.filter-drawer .filter-group-feature input,
    12081208.filter-drawer .filter-group-feature label {
    1209     line-height: 16px;
     1209    line-height: 1.4;
    12101210}
    12111211
     
    12441244.wp-filter .button-link.edit-filters {
    12451245    padding: 0 5px;
    1246     line-height: 28px;
     1246    line-height: 2.2;
    12471247}
    12481248
     
    15521552.update-nag {
    15531553    display: inline-block;
    1554     line-height: 19px;
     1554    line-height: 1.4;
    15551555    padding: 11px 15px;
    15561556    font-size: 14px;
     
    17611761    display: inline-block;
    17621762    padding-right: 15px;
    1763     line-height: 30px;
     1763    line-height: 2.35;
    17641764}
    17651765
     
    18001800
    18011801.metabox-prefs .screen-options label {
    1802     line-height: 28px;
     1802    line-height: 2.2;
    18031803    padding-right: 0;
    18041804}
     
    18641864    display: block;
    18651865    padding: 5px 5px 5px 12px;
    1866     line-height: 18px;
     1866    line-height: 1.4;
    18671867    text-decoration: none;
    18681868    border: 1px solid transparent;
     
    18961896    display: none;
    18971897    margin: 0 22px 12px 0;
    1898     line-height: 1.6em;
     1898    line-height: 1.6;
    18991899}
    19001900
     
    20792079.postbox .inside {
    20802080    padding: 0 12px 12px;
    2081     line-height: 1.4em;
     2081    line-height: 1.4;
    20822082    font-size: 13px;
    20832083}
     
    20852085.stuffbox .inside {
    20862086    padding: 0;
    2087     line-height: 1.4em;
     2087    line-height: 1.4;
    20882088    font-size: 13px;
    20892089    margin-top: 0;
     
    21542154    font-size: 13px;
    21552155    margin: 0;
    2156     line-height: 20px;
     2156    line-height: 1.55;
    21572157}
    21582158
     
    21722172    padding: 5px 10px;
    21732173    font-size: 14px;
    2174     line-height: 24px;
     2174    line-height: 1.8;
    21752175    font-weight: 600;
    21762176    background: #e5e5e5;
     
    21842184    padding: 5px 14px;
    21852185    font-size: 12px;
    2186     line-height: 16px;
     2186    line-height: 1.33;
    21872187}
    21882188
     
    22862286.nav-menus-php .metabox-holder h3 {
    22872287    padding: 10px 10px 11px 14px;
    2288     line-height: 21px;
     2288    line-height: 1.5;
    22892289}
    22902290
     
    23492349.importers td {
    23502350    padding-right: 14px;
    2351     line-height: 1.5em;
     2351    line-height: 1.4;
    23522352}
    23532353
     
    23742374
    23752375.importer-action {
    2376     line-height: 20px; /* Same as with .updating-message */
     2376    line-height: 1.55; /* Same as with .updating-message */
    23772377    color: #555;
    23782378    margin-bottom: 1em;
     
    24292429br.clear {
    24302430    height: 2px;
    2431     line-height: 2px;
     2431    line-height: 0.15;
    24322432}
    24332433
     
    25332533    font-size: 22px;
    25342534    font-weight: 600;
    2535     line-height: 56px;
     2535    line-height: 2.4;
    25362536    position: relative;
    25372537    height: 56px;
     
    25592559    display: inline-block;
    25602560    font-size: 30px;
    2561     line-height: 50px;
     2561    line-height: 1.68;
    25622562    box-sizing: border-box;
    25632563    max-width: 100%;
     
    26042604    margin: 0;
    26052605    height: 18px;
    2606     line-height: 18px;
     2606    line-height: 1.3;
    26072607    font-size: 14px;
    26082608    text-decoration: none;
     
    28842884        margin-top: 30px;
    28852885        font-size: 20px;
    2886         line-height: 40px;
     2886        line-height: 2;
    28872887        max-width: 85%;
    28882888    }
     
    33143314
    33153315#documentation label {
    3316     line-height: 22px;
     3316    line-height: 1.8;
    33173317    vertical-align: baseline;
    33183318    font-weight: 600;
     
    34733473    border-right: none;
    34743474    padding: 10px 10px 11px 14px;
    3475     line-height: 21px;
     3475    line-height: 1.55;
    34763476    background: #fff;
    34773477}
     
    39223922    .filter-drawer .filter-group-feature input,
    39233923    .filter-drawer .filter-group-feature label {
    3924         line-height: 25px;
     3924        line-height: 2.1;
    39253925    }
    39263926
     
    39313931    .wp-filter .button.drawer-toggle {
    39323932        font-size: 13px;
    3933         line-height: 26px;
     3933        line-height: 2;
    39343934        height: 28px;
    39353935    }
Note: See TracChangeset for help on using the changeset viewer.