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.
Built from https://develop.svn.wordpress.org/trunk@45123


git-svn-id: http://core.svn.wordpress.org/trunk@44932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-04-06 16:10:51 +00:00
parent 5810543816
commit 95d13df56d
5 changed files with 19 additions and 19 deletions

View File

@ -438,7 +438,7 @@ ul.add-menu-item-tabs li {
.menu-item-bar { .menu-item-bar {
clear: both; clear: both;
line-height: 1.5em; line-height: 1.5;
position: relative; position: relative;
margin: 9px 0 0; margin: 9px 0 0;
} }
@ -450,7 +450,7 @@ ul.add-menu-item-tabs li {
height: auto; height: auto;
min-height: 20px; min-height: 20px;
width: 382px; width: 382px;
line-height: 30px; line-height: 2.4;
overflow: hidden; overflow: hidden;
word-wrap: break-word; word-wrap: break-word;
} }
@ -480,7 +480,7 @@ ul.add-menu-item-tabs li {
.menu-item-handle .item-title { .menu-item-handle .item-title {
font-size: 13px; font-size: 13px;
font-weight: 600; font-weight: 600;
line-height: 20px; line-height: 1.6;
display: block; display: block;
/* @todo: responsive view. */ /* @todo: responsive view. */
margin-left: 13em; margin-left: 13em;
@ -556,7 +556,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
padding: 12px 16px; padding: 12px 16px;
color: #666; color: #666;
font-size: 12px; font-size: 12px;
line-height: 18px; line-height: 1.5;
} }
.item-controls { .item-controls {
@ -598,7 +598,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
color: #0073aa; color: #0073aa;
text-decoration: underline; text-decoration: underline;
font-size: 12px; font-size: 12px;
line-height: 18px; line-height: 1.5;
} }
.no-js.nav-menus-php .item-edit .screen-reader-text { .no-js.nav-menus-php .item-edit .screen-reader-text {
@ -737,7 +737,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
.nav-menus-php .major-publishing-actions { .nav-menus-php .major-publishing-actions {
clear: both; clear: both;
padding: 10px 0; padding: 10px 0;
line-height: 28px; line-height: 2.1;
} }
.nav-menus-php .major-publishing-actions .publishing-action { .nav-menus-php .major-publishing-actions .publishing-action {
@ -752,7 +752,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
/* Same as the Publish Meta Box #delete-action */ /* Same as the Publish Meta Box #delete-action */
.nav-menus-php .delete-action { .nav-menus-php .delete-action {
float: right; float: right;
line-height: 28px; line-height: 2.1;
} }
.nav-menus-php .major-publishing-actions .form-invalid { .nav-menus-php .major-publishing-actions .form-invalid {
@ -841,7 +841,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
.nav-menus-php .delete-action { .nav-menus-php .delete-action {
font-size: 14px; font-size: 14px;
line-height: 30px; line-height: 2.1;
} }
.menu-item-bar .menu-item-handle, .menu-item-bar .menu-item-handle,

File diff suppressed because one or more lines are too long

View File

@ -438,7 +438,7 @@ ul.add-menu-item-tabs li {
.menu-item-bar { .menu-item-bar {
clear: both; clear: both;
line-height: 1.5em; line-height: 1.5;
position: relative; position: relative;
margin: 9px 0 0; margin: 9px 0 0;
} }
@ -450,7 +450,7 @@ ul.add-menu-item-tabs li {
height: auto; height: auto;
min-height: 20px; min-height: 20px;
width: 382px; width: 382px;
line-height: 30px; line-height: 2.4;
overflow: hidden; overflow: hidden;
word-wrap: break-word; word-wrap: break-word;
} }
@ -480,7 +480,7 @@ ul.add-menu-item-tabs li {
.menu-item-handle .item-title { .menu-item-handle .item-title {
font-size: 13px; font-size: 13px;
font-weight: 600; font-weight: 600;
line-height: 20px; line-height: 1.6;
display: block; display: block;
/* @todo: responsive view. */ /* @todo: responsive view. */
margin-right: 13em; margin-right: 13em;
@ -556,7 +556,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
padding: 12px 16px; padding: 12px 16px;
color: #666; color: #666;
font-size: 12px; font-size: 12px;
line-height: 18px; line-height: 1.5;
} }
.item-controls { .item-controls {
@ -598,7 +598,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
color: #0073aa; color: #0073aa;
text-decoration: underline; text-decoration: underline;
font-size: 12px; font-size: 12px;
line-height: 18px; line-height: 1.5;
} }
.no-js.nav-menus-php .item-edit .screen-reader-text { .no-js.nav-menus-php .item-edit .screen-reader-text {
@ -737,7 +737,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
.nav-menus-php .major-publishing-actions { .nav-menus-php .major-publishing-actions {
clear: both; clear: both;
padding: 10px 0; padding: 10px 0;
line-height: 28px; line-height: 2.1;
} }
.nav-menus-php .major-publishing-actions .publishing-action { .nav-menus-php .major-publishing-actions .publishing-action {
@ -752,7 +752,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
/* Same as the Publish Meta Box #delete-action */ /* Same as the Publish Meta Box #delete-action */
.nav-menus-php .delete-action { .nav-menus-php .delete-action {
float: left; float: left;
line-height: 28px; line-height: 2.1;
} }
.nav-menus-php .major-publishing-actions .form-invalid { .nav-menus-php .major-publishing-actions .form-invalid {
@ -841,7 +841,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
.nav-menus-php .delete-action { .nav-menus-php .delete-action {
font-size: 14px; font-size: 14px;
line-height: 30px; line-height: 2.1;
} }
.menu-item-bar .menu-item-handle, .menu-item-bar .menu-item-handle,

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.2-beta1-45122'; $wp_version = '5.2-beta1-45123';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.