Make WordPress Core

Changeset 45461


Ignore:
Timestamp:
05/29/2019 04:02:49 PM (6 years ago)
Author:
SergeyBiryukov
Message:

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

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

File:
1 edited

Legend:

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

    r44896 r45461  
    108108    background: #fff;
    109109    font-size: 13px;
    110     line-height: 2.1em;
     110    line-height: 1.7;
    111111}
    112112
     
    199199
    200200.welcome-panel .welcome-widgets-menus {
    201     line-height: 16px;
     201    line-height: 1.14285714;
    202202}
    203203
     
    207207
    208208.welcome-panel .welcome-panel-column li {
    209     line-height: 16px;
     209    line-height: 1.14285714;
    210210    list-style-type: none;
    211211    padding: 0 0 8px;
     
    358358    display: inline-block;
    359359    vertical-align: top;
    360     line-height: 28px;
     360    line-height: 2.15384615;
    361361    height: 28px;
    362362}
     
    380380    vertical-align: top;
    381381    /* Same properties as the submit button for cross-browsers alignment. */
    382     line-height: 26px;
     382    line-height: 2;
    383383    height: 28px;
    384384    text-decoration: underline;
     
    938938
    939939#latest-comments #the-comment-list .comment-meta {
    940     line-height: 1.5em;
     940    line-height: 1.5;
    941941    margin: 0;
    942942    color: #666;
     
    971971    font-size: 13px;
    972972    font-weight: 600;
    973     line-height: 1.4em;
     973    line-height: 1.4;
    974974}
    975975
    976976.rss-widget ul li {
    977     line-height: 1.5em;
     977    line-height: 1.5;
    978978    margin-bottom: 12px;
    979979}
Note: See TracChangeset for help on using the changeset viewer.