Make WordPress Core

Changeset 45123


Ignore:
Timestamp:
04/06/2019 04:09:42 PM (6 years ago)
Author:
SergeyBiryukov
Message:

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

Props ianbelanger, audrasjb, pbiron, afercia.
Fixes #46516. See #44643.

File:
1 edited

Legend:

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

    r44952 r45123  
    439439.menu-item-bar {
    440440    clear: both;
    441     line-height: 1.5em;
     441    line-height: 1.5;
    442442    position: relative;
    443443    margin: 9px 0 0;
     
    451451    min-height: 20px;
    452452    width: 382px;
    453     line-height: 30px;
     453    line-height: 2.4;
    454454    overflow: hidden;
    455455    word-wrap: break-word;
     
    481481    font-size: 13px;
    482482    font-weight: 600;
    483     line-height: 20px;
     483    line-height: 1.6;
    484484    display: block;
    485485    /* @todo: responsive view. */
     
    557557    color: #666;
    558558    font-size: 12px;
    559     line-height: 18px;
     559    line-height: 1.5;
    560560}
    561561
     
    599599    text-decoration: underline;
    600600    font-size: 12px;
    601     line-height: 18px;
     601    line-height: 1.5;
    602602}
    603603
     
    738738    clear: both;
    739739    padding: 10px 0;
    740     line-height: 28px;
     740    line-height: 2.1;
    741741}
    742742
     
    753753.nav-menus-php .delete-action {
    754754    float: left;
    755     line-height: 28px;
     755    line-height: 2.1;
    756756}
    757757
     
    842842    .nav-menus-php .delete-action {
    843843        font-size: 14px;
    844         line-height: 30px;
     844        line-height: 2.1;
    845845    }
    846846
Note: See TracChangeset for help on using the changeset viewer.