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

Props ianbelanger.
Fixes #46516.

git-svn-id: https://develop.svn.wordpress.org/trunk@45414 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-05-25 14:41:55 +00:00
parent 8081adfefa
commit 1752bc29a7

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,