Make WordPress Core

Changeset 45477


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

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

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

File:
1 edited

Legend:

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

    r45172 r45477  
    465465.mce-toolbar .mce-listbox button {
    466466        font-size: 13px;
    467         line-height: 20px;
     467        line-height: 1.53846153;
    468468        padding-left: 6px;
    469469        padding-right: 20px;
    … …  
    676676        text-shadow: none;
    677677        padding: 0;
    678         line-height: 26px;
     678        line-height: 1.85714285;
    679679}
    680680
    … …  
    796796        width: 18px;
    797797        height: 22px;
    798         line-height: 22px;
     798        line-height: 1.57142857;
    799799}
    800800
    … …  
    827827.mce-toolbar .mce-ico {
    828828        color: #555d66;
    829         line-height: 20px;
     829        line-height: 1;
    830830        width: 20px;
    831831        height: 20px;
    … …  
    838838.qt-dfw {
    839839        color: #555d66;
    840         line-height: 20px;
     840        line-height: 1;
    841841        width: 28px;
    842842        height: 26px;
    … …  
    11311131        cursor: pointer;
    11321132        font-size: 13px;
    1133         line-height: 19px;
     1133        line-height: 1.46153846;
    11341134        height: 20px;
    11351135        margin: 5px 0 0 5px;
    … …  
    13291329                font-size: 12px;
    13301330                height: 26px;
    1331                 line-height: 24px;
     1331                line-height: 2;
    13321332        }
    13331333}
    … …  
    14191419        font-size: 18px;
    14201420        font-weight: 600;
    1421         line-height: 36px;
     1421        line-height: 2;
    14221422        margin: 0;
    14231423        padding: 0 36px 0 16px;
    … …  
    16591659
    16601660#wp-link-cancel {
    1661         line-height: 25px;
     1661        line-height: 1.92307692;
    16621662        float: left;
    16631663}
    16641664
    16651665#wp-link-update {
    1666         line-height: 23px;
     1666        line-height: 1.76923076;
    16671667        float: right;
    16681668}
    … …  
    16941694
    16951695        #wp-link-cancel {
    1696                 line-height: 32px;
     1696                line-height: 2.46153846;
    16971697        }
    16981698
Note: See TracChangeset for help on using the changeset viewer.