CSS Coding Standards: Update unitless values for line-height in wp-admin/css/nav-menus.css with more precise calculations.

Props ianbelanger.
Fixes #46516.
Built from https://develop.svn.wordpress.org/trunk@45414


git-svn-id: http://core.svn.wordpress.org/trunk@45225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-05-25 14:42:52 +00:00
parent 693e90ac81
commit 962da3db60
5 changed files with 11 additions and 11 deletions

View File

@ -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: 2.4; line-height: 2.30769230;
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: 1.6; line-height: 1.53846153;
display: block; display: block;
/* @todo: responsive view. */ /* @todo: responsive view. */
margin-left: 13em; margin-left: 13em;
@ -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: 2.1; line-height: 2.15384615;
} }
.nav-menus-php .major-publishing-actions .publishing-action { .nav-menus-php .major-publishing-actions .publishing-action {
@ -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: 2.1; line-height: 2.14285714;
} }
.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

@ -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: 2.4; line-height: 2.30769230;
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: 1.6; line-height: 1.53846153;
display: block; display: block;
/* @todo: responsive view. */ /* @todo: responsive view. */
margin-right: 13em; margin-right: 13em;
@ -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: 2.1; line-height: 2.15384615;
} }
.nav-menus-php .major-publishing-actions .publishing-action { .nav-menus-php .major-publishing-actions .publishing-action {
@ -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: 2.1; line-height: 2.14285714;
} }
.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.3-alpha-45413'; $wp_version = '5.3-alpha-45414';
/** /**
* 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.