Make WordPress Core

Changeset 45484


Ignore:
Timestamp:
05/30/2019 04:44:02 PM (7 years ago)
Author:
SergeyBiryukov
Message:

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

Props ianbelanger, mukesh27, pbiron, afercia.
Fixes #46530. See #44643.

File:
1 edited

Legend:

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

    r45483 r45484  
    101101.describe-toggle-off {
    102102        display: block;
    103         line-height: 36px;
     103        line-height: 2.76923076;
    104104        float: right;
    105105        margin-right: 10px;
    … …  
    133133
    134134.media-item .filename {
    135         line-height: 36px;
     135        line-height: 2.76923076;
    136136        overflow: hidden;
    137137        margin-left: 6px;
    … …  
    240240        font-size: 18px;
    241241        font-weight: 600;
    242         line-height: 36px;
     242        line-height: 2;
    243243        padding: 0 36px 0 16px;
    244244        position: absolute;
    … …  
    756756.edit-attachment-frame textarea {
    757757        padding: 6px 8px;
    758         line-height: 16px;
     758        line-height: 1.14285714;
    759759}
    760760
    … …  
    941941        -webkit-font-smoothing: antialiased;
    942942        -moz-osx-font-smoothing: grayscale;
    943         line-height: 16px;
     943        line-height: 1.23076923;
    944944        color: #72777c;
    945945}
    … …  
    11651165        .wp_attachment_details label[for="content"] {
    11661166                font-size: 14px;
    1167                 line-height: 1.5em;
     1167                line-height: 1.5;
    11681168        }
    11691169
Note: See TracChangeset for help on using the changeset viewer.