Make WordPress Core

Changeset 45478


Ignore:
Timestamp:
05/30/2019 01:17:48 PM (7 years ago)
Author:
SergeyBiryukov
Message:

CSS Coding Standards: Use unitless values for line-height in wp-includes/css/media-views.css.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/media-views.css

    r45376 r45478  
    3131.media-frame select,
    3232.wp-admin .media-frame select {
    33         line-height: 28px;
     33        line-height: 2;
    3434        margin-top: 3px;
    3535}
     
    406406        min-height: 22px;
    407407        padding-top: 8px;
    408         line-height: 16px;
     408        line-height: 1.33333333;
    409409        font-weight: 400;
    410410        color: #666;
     
    556556        padding: 8px 20px;
    557557        margin: 0;
    558         line-height: 18px;
     558        line-height: 1.28571428;
    559559        font-size: 14px;
    560560        color: #0073aa;
     
    608608        margin: 0;
    609609        height: 18px;
    610         line-height: 18px;
     610        line-height: 1.28571428;
    611611        font-size: 14px;
    612612        text-decoration: none;
     
    735735        padding: 0 16px;
    736736        font-size: 22px;
    737         line-height: 50px;
     737        line-height: 2.27272727;
    738738        margin: 0;
    739739}
     
    13701370.uploader-inline h2 {
    13711371        font-size: 20px;
    1372         line-height: 28px;
     1372        line-height: 1.4;
    13731373        font-weight: 400;
    13741374        margin: 0;
     
    14411441        padding-top: 12px;
    14421442        font-size: 14px;
    1443         line-height: 20px;
     1443        line-height: 1.42857142;
    14441444        font-weight: 600;
    14451445}
     
    14491449        padding: 1px 8px;
    14501450        margin: 1px 8px 1px -8px;
    1451         line-height: 16px;
     1451        line-height: 1.4;
    14521452        border-right: 1px solid #ddd;
    14531453        color: #0073aa;
     
    16051605        min-height: 60px;
    16061606        margin-bottom: 16px;
    1607         line-height: 18px;
     1607        line-height: 1.5;
    16081608        color: #666;
    16091609        border-bottom: 1px solid #ddd;
     
    21202120        width: 200px;
    21212121        font-size: 13px;
    2122         line-height: 24px;
     2122        line-height: 1.84615384;
    21232123        color: #666;
    21242124}
     
    23272327        .media-frame:not(.hide-menu) .media-frame-title .dashicons {
    23282328                display: inline-block;
    2329                 line-height: 50px;
     2329                line-height: 2.5;
    23302330        }
    23312331
     
    26002600        .media-frame:not(.hide-menu) .media-frame-title h1 {
    26012601                font-size: 18px;
    2602                 line-height: 40px;
     2602                line-height: 2.22222222;
    26032603        }
    26042604
    26052605        .media-frame:not(.hide-menu) .media-frame-title .dashicons {
    2606                 line-height: 40px;
     2606                line-height: 2;
    26072607        }
    26082608
Note: See TracChangeset for help on using the changeset viewer.