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. git-svn-id: https://develop.svn.wordpress.org/trunk@45123 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0f534cfe11
commit
bd25bc4473
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user