CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/dashboard.css`.

Props ianbelanger, pbiron, afercia.
Fixes #46510. See #44643.
Built from https://develop.svn.wordpress.org/trunk@45461


git-svn-id: http://core.svn.wordpress.org/trunk@45272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-05-29 16:03:52 +00:00
parent 9860a4366d
commit ce25e2f34d
5 changed files with 19 additions and 19 deletions

View File

@ -107,7 +107,7 @@
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
background: #fff; background: #fff;
font-size: 13px; font-size: 13px;
line-height: 2.1em; line-height: 1.7;
} }
.welcome-panel h2 { .welcome-panel h2 {
@ -198,7 +198,7 @@
} }
.welcome-panel .welcome-widgets-menus { .welcome-panel .welcome-widgets-menus {
line-height: 16px; line-height: 1.14285714;
} }
.welcome-panel .welcome-panel-column ul { .welcome-panel .welcome-panel-column ul {
@ -206,7 +206,7 @@
} }
.welcome-panel .welcome-panel-column li { .welcome-panel .welcome-panel-column li {
line-height: 16px; line-height: 1.14285714;
list-style-type: none; list-style-type: none;
padding: 0 0 8px; padding: 0 0 8px;
} }
@ -357,7 +357,7 @@
.community-events-form label { .community-events-form label {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
line-height: 28px; line-height: 2.15384615;
height: 28px; height: 28px;
} }
@ -379,7 +379,7 @@
#dashboard-widgets .community-events-cancel.button-link { #dashboard-widgets .community-events-cancel.button-link {
vertical-align: top; vertical-align: top;
/* Same properties as the submit button for cross-browsers alignment. */ /* Same properties as the submit button for cross-browsers alignment. */
line-height: 26px; line-height: 2;
height: 28px; height: 28px;
text-decoration: underline; text-decoration: underline;
} }
@ -937,7 +937,7 @@ body #dashboard-widgets .postbox form .submit {
} }
#latest-comments #the-comment-list .comment-meta { #latest-comments #the-comment-list .comment-meta {
line-height: 1.5em; line-height: 1.5;
margin: 0; margin: 0;
color: #666; color: #666;
} }
@ -970,11 +970,11 @@ body #dashboard-widgets .postbox form .submit {
a.rsswidget { a.rsswidget {
font-size: 13px; font-size: 13px;
font-weight: 600; font-weight: 600;
line-height: 1.4em; line-height: 1.4;
} }
.rss-widget ul li { .rss-widget ul li {
line-height: 1.5em; line-height: 1.5;
margin-bottom: 12px; margin-bottom: 12px;
} }

File diff suppressed because one or more lines are too long

View File

@ -107,7 +107,7 @@
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
background: #fff; background: #fff;
font-size: 13px; font-size: 13px;
line-height: 2.1em; line-height: 1.7;
} }
.welcome-panel h2 { .welcome-panel h2 {
@ -198,7 +198,7 @@
} }
.welcome-panel .welcome-widgets-menus { .welcome-panel .welcome-widgets-menus {
line-height: 16px; line-height: 1.14285714;
} }
.welcome-panel .welcome-panel-column ul { .welcome-panel .welcome-panel-column ul {
@ -206,7 +206,7 @@
} }
.welcome-panel .welcome-panel-column li { .welcome-panel .welcome-panel-column li {
line-height: 16px; line-height: 1.14285714;
list-style-type: none; list-style-type: none;
padding: 0 0 8px; padding: 0 0 8px;
} }
@ -357,7 +357,7 @@
.community-events-form label { .community-events-form label {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
line-height: 28px; line-height: 2.15384615;
height: 28px; height: 28px;
} }
@ -379,7 +379,7 @@
#dashboard-widgets .community-events-cancel.button-link { #dashboard-widgets .community-events-cancel.button-link {
vertical-align: top; vertical-align: top;
/* Same properties as the submit button for cross-browsers alignment. */ /* Same properties as the submit button for cross-browsers alignment. */
line-height: 26px; line-height: 2;
height: 28px; height: 28px;
text-decoration: underline; text-decoration: underline;
} }
@ -937,7 +937,7 @@ body #dashboard-widgets .postbox form .submit {
} }
#latest-comments #the-comment-list .comment-meta { #latest-comments #the-comment-list .comment-meta {
line-height: 1.5em; line-height: 1.5;
margin: 0; margin: 0;
color: #666; color: #666;
} }
@ -970,11 +970,11 @@ body #dashboard-widgets .postbox form .submit {
a.rsswidget { a.rsswidget {
font-size: 13px; font-size: 13px;
font-weight: 600; font-weight: 600;
line-height: 1.4em; line-height: 1.4;
} }
.rss-widget ul li { .rss-widget ul li {
line-height: 1.5em; line-height: 1.5;
margin-bottom: 12px; margin-bottom: 12px;
} }

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-45460'; $wp_version = '5.3-alpha-45461';
/** /**
* 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.