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

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

git-svn-id: https://develop.svn.wordpress.org/trunk@45477 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-05-30 12:44:43 +00:00
parent 42d0a9ff5d
commit a348577580

View File

@ -464,7 +464,7 @@ div.mce-path {
.mce-toolbar .mce-listbox button { .mce-toolbar .mce-listbox button {
font-size: 13px; font-size: 13px;
line-height: 20px; line-height: 1.53846153;
padding-left: 6px; padding-left: 6px;
padding-right: 20px; padding-right: 20px;
} }
@ -675,7 +675,7 @@ div.mce-menu .mce-menu-item-sep,
color: #fff; color: #fff;
text-shadow: none; text-shadow: none;
padding: 0; padding: 0;
line-height: 26px; line-height: 1.85714285;
} }
.mce-window .mce-btn { .mce-window .mce-btn {
@ -795,7 +795,7 @@ div.mce-menu .mce-menu-item-sep,
.mce-charmap td div { .mce-charmap td div {
width: 18px; width: 18px;
height: 22px; height: 22px;
line-height: 22px; line-height: 1.57142857;
} }
/* TinyMCE tooltips */ /* TinyMCE tooltips */
@ -826,7 +826,7 @@ div.mce-menu .mce-menu-item-sep,
.mce-toolbar .mce-ico { .mce-toolbar .mce-ico {
color: #555d66; color: #555d66;
line-height: 20px; line-height: 1;
width: 20px; width: 20px;
height: 20px; height: 20px;
text-align: center; text-align: center;
@ -837,7 +837,7 @@ div.mce-menu .mce-menu-item-sep,
.qt-dfw { .qt-dfw {
color: #555d66; color: #555d66;
line-height: 20px; line-height: 1;
width: 28px; width: 28px;
height: 26px; height: 26px;
text-align: center; text-align: center;
@ -1130,7 +1130,7 @@ i.mce-i-wp_code:before {
color: #666; color: #666;
cursor: pointer; cursor: pointer;
font-size: 13px; font-size: 13px;
line-height: 19px; line-height: 1.46153846;
height: 20px; height: 20px;
margin: 5px 0 0 5px; margin: 5px 0 0 5px;
padding: 3px 8px 4px; padding: 3px 8px 4px;
@ -1328,7 +1328,7 @@ i.mce-i-wp_code:before {
/* .button-small is normally 11px, but a bit too small for these buttons. */ /* .button-small is normally 11px, but a bit too small for these buttons. */
font-size: 12px; font-size: 12px;
height: 26px; height: 26px;
line-height: 24px; line-height: 2;
} }
} }
@ -1418,7 +1418,7 @@ i.mce-i-wp_code:before {
height: 36px; height: 36px;
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
line-height: 36px; line-height: 2;
margin: 0; margin: 0;
padding: 0 36px 0 16px; padding: 0 36px 0 16px;
} }
@ -1658,12 +1658,12 @@ i.mce-i-wp_code:before {
} }
#wp-link-cancel { #wp-link-cancel {
line-height: 25px; line-height: 1.92307692;
float: left; float: left;
} }
#wp-link-update { #wp-link-update {
line-height: 23px; line-height: 1.76923076;
float: right; float: right;
} }
@ -1693,7 +1693,7 @@ i.mce-i-wp_code:before {
} }
#wp-link-cancel { #wp-link-cancel {
line-height: 32px; line-height: 2.46153846;
} }
#wp-link .link-target { #wp-link .link-target {