Make WordPress Core

Changeset 45476


Ignore:
Timestamp:
05/30/2019 12:41:56 PM (7 years ago)
Author:
SergeyBiryukov
Message:

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

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

File:
1 edited

Legend:

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

    r45150 r45476  
    4747        text-decoration: none;
    4848        font-size: 13px;
    49         line-height: 26px;
     49        line-height: 2;
    5050        height: 28px;
    5151        margin: 0;
    … …  
    7373.wp-core-ui .button-group.button-large .button {
    7474        height: 30px;
    75         line-height: 28px;
     75        line-height: 2.15384615;
    7676        padding: 0 12px 2px;
    7777}
    … …  
    8080.wp-core-ui .button-group.button-small .button {
    8181        height: 24px;
    82         line-height: 22px;
     82        line-height: 2;
    8383        padding: 0 8px 1px;
    8484        font-size: 11px;
    … …  
    8989        font-size: 14px;
    9090        height: 46px;
    91         line-height: 44px;
     91        line-height: 3.14285714;
    9292        padding: 0 36px;
    9393}
    … …  
    376376                padding: 0 10px 1px;
    377377                font-size: 13px;
    378                 line-height: 26px;
     378                line-height: 2;
    379379                height: 28px;
    380380                margin: 0;
    … …  
    391391        .interim-login .button.button-large {
    392392                height: 30px;
    393                 line-height: 28px;
     393                line-height: 2;
    394394                padding: 0 12px 2px;
    395395        }
Note: See TracChangeset for help on using the changeset viewer.