Make WordPress Core

Changeset 45464


Ignore:
Timestamp:
05/30/2019 11:48:09 AM (5 years ago)
Author:
SergeyBiryukov
Message:

CSS Coding Standards: Use unitless values for line-height in wp-admin/css/forms.css.

Props ianbelanger, pbiron, afercia.
Fixes #46512. See #44643.

File:
1 edited

Legend:

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

    r45326 r45464  
    117117    border-radius: 50%;
    118118    margin-right: 4px;
    119     line-height: 10px;
     119    line-height: 0.71428571;
    120120}
    121121
     
    146146    height: 6px;
    147147    margin: 4px;
    148     line-height: 16px;
     148    line-height: 0.76190476;
    149149    background-color: #1e8cbe;
    150150}
     
    311311.wp-admin select {
    312312    padding: 2px;
    313     line-height: 28px;
     313    line-height: 2;
    314314    height: 28px;
    315315    vertical-align: middle;
     
    690690.form-table td fieldset p,
    691691.form-table td fieldset li {
    692     line-height: 1.4em;
     692    line-height: 1.4;
    693693}
    694694
     
    11141114
    11151115.tools-privacy-policy-page span {
    1116     line-height: 2em;
     1116    line-height: 2;
    11171117}
    11181118
     
    12991299        height: 9px;
    13001300        margin: 7px;
    1301         line-height: 16px;
     1301        line-height: 0.76190476;
    13021302    }
    13031303
     
    14241424        display: inline;
    14251425        padding: 4px 0 0;
    1426         line-height: 1.4em;
     1426        line-height: 1.4;
    14271427        font-size: 14px;
    14281428    }
Note: See TracChangeset for help on using the changeset viewer.