WordPress.org

Make WordPress Core

Changeset 45188


Ignore:
Timestamp:
04/13/2019 04:31:08 AM (6 months ago)
Author:
SergeyBiryukov
Message:

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

Props ianbelanger, mukesh27, audrasjb, pbiron, afercia.
Fixes #46518. See #44643.

File:
1 edited

Legend:

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

    r44791 r45188  
    10971097
    10981098.theme-details .theme-rating {
    1099     line-height: 23px;
     1099    line-height: 1.9;
    11001100}
    11011101
     
    11121112.theme-details .no-rating {
    11131113    display: block;
    1114     line-height: 20px;
     1114    line-height: 1.9;
    11151115}
    11161116
     
    12141214    /* Following properties are overridden by buttons responsive styles (see: wp-includes/css/buttons.css). */
    12151215    height: 40px !important;
    1216     line-height: 37px !important;
     1216    line-height: 2.9 !important;
    12171217    margin: 0 -1px 0 0 !important;
    12181218    padding: 0 10px 1px !important;
     
    13771377    height: 45px;
    13781378    padding: 0 15px;
    1379     line-height: 45px;
     1379    line-height: 3.2;
    13801380    z-index: 10;
    13811381    margin: 0;
     
    15151515    display: inline-block;
    15161516    vertical-align: middle;
    1517     line-height: 20px;
     1517    line-height: 1.6;
    15181518}
    15191519
     
    17821782.install-theme-info .theme-name {
    17831783    font-size: 16px;
    1784     line-height: 24px;
     1784    line-height: 1.5;
    17851785    margin-bottom: 0;
    17861786    margin-top: 0;
     
    18041804    float: left;
    18051805    color: #72777c;
    1806     line-height: 20px;
     1806    line-height: 1.6;
    18071807    max-width: 100%;
    18081808}
     
    18121812    margin: 8px 10px 0 0;
    18131813    /* For when .theme-install is a span rather than a.button-primary (already installed theme) */
    1814     line-height: 26px;
     1814    line-height: 2;
    18151815}
    18161816
Note: See TracChangeset for help on using the changeset viewer.