Make WordPress Core

Ticket #46528: 46528.1.diff

File 46528.1.diff, 1.8 KB (added by ianbelanger, 4 years ago)

Updates patch with more precise line-height calculations

  • src/wp-includes/css/editor.css

     
    464464
    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;
    470470}
     
    675675        color: #fff;
    676676        text-shadow: none;
    677677        padding: 0;
    678         line-height: 26px;
     678        line-height: 1.85714285;
    679679}
    680680
    681681.mce-window .mce-btn {
     
    795795.mce-charmap td div {
    796796        width: 18px;
    797797        height: 22px;
    798         line-height: 22px;
     798        line-height: 1.57142857;
    799799}
    800800
    801801/* TinyMCE tooltips */
     
    826826
    827827.mce-toolbar .mce-ico {
    828828        color: #555d66;
    829         line-height: 20px;
     829        line-height: 1;
    830830        width: 20px;
    831831        height: 20px;
    832832        text-align: center;
     
    837837
    838838.qt-dfw {
    839839        color: #555d66;
    840         line-height: 20px;
     840        line-height: 1;
    841841        width: 28px;
    842842        height: 26px;
    843843        text-align: center;
     
    11301130        color: #666;
    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;
    11361136        padding: 3px 8px 4px;
     
    13281328                /* .button-small is normally 11px, but a bit too small for these buttons. */
    13291329                font-size: 12px;
    13301330                height: 26px;
    1331                 line-height: 24px;
     1331                line-height: 2;
    13321332        }
    13331333}
    13341334
     
    14181418        height: 36px;
    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;
    14241424}
     
    16581658}
    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}
    16691669
     
    16931693        }
    16941694
    16951695        #wp-link-cancel {
    1696                 line-height: 32px;
     1696                line-height: 2.46153846;
    16971697        }
    16981698
    16991699        #wp-link .link-target {