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

Props ianbelanger, audrasjb.
Fixes #46531. See #44643.
Built from https://develop.svn.wordpress.org/trunk@45053


git-svn-id: http://core.svn.wordpress.org/trunk@44862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-03-28 16:39:51 +00:00
parent a02494a80f
commit 774ac73a1f
5 changed files with 11 additions and 11 deletions

View File

@ -39,7 +39,7 @@
.widgets-holder-wrap .widget-inside { .widgets-holder-wrap .widget-inside {
border-top: none; border-top: none;
padding: 1px 15px 15px 15px; padding: 1px 15px 15px 15px;
line-height: 16px; line-height: 1.2;
} }
.widget.widget-dirty .widget-control-close-wrapper { .widget.widget-dirty .widget-control-close-wrapper {
@ -89,7 +89,7 @@
border: 1px dashed #b4b9be; border: 1px dashed #b4b9be;
box-sizing: border-box; box-sizing: border-box;
cursor: pointer; cursor: pointer;
line-height: 20px; line-height: 1.6;
padding: 9px 0; padding: 9px 0;
position: relative; position: relative;
text-align: center; text-align: center;
@ -541,7 +541,7 @@ div#widgets-right .closed .widgets-sortables {
color: #666; color: #666;
background: #EEE; background: #EEE;
padding: 0 15px; padding: 0 15px;
line-height: 43px; line-height: 3.35;
border-right: 1px solid #DDD; border-right: 1px solid #DDD;
} }
@ -756,7 +756,7 @@ div#widgets-right .widget-top:hover,
left: 15px; left: 15px;
} }
.text-widget-fields .wp-pointer .wp-pointer-buttons { .text-widget-fields .wp-pointer .wp-pointer-buttons {
line-height: 1.4em; line-height: 1.4;
} }
.custom-html-widget-fields > p > .CodeMirror { .custom-html-widget-fields > p > .CodeMirror {

File diff suppressed because one or more lines are too long

View File

@ -39,7 +39,7 @@
.widgets-holder-wrap .widget-inside { .widgets-holder-wrap .widget-inside {
border-top: none; border-top: none;
padding: 1px 15px 15px 15px; padding: 1px 15px 15px 15px;
line-height: 16px; line-height: 1.2;
} }
.widget.widget-dirty .widget-control-close-wrapper { .widget.widget-dirty .widget-control-close-wrapper {
@ -89,7 +89,7 @@
border: 1px dashed #b4b9be; border: 1px dashed #b4b9be;
box-sizing: border-box; box-sizing: border-box;
cursor: pointer; cursor: pointer;
line-height: 20px; line-height: 1.6;
padding: 9px 0; padding: 9px 0;
position: relative; position: relative;
text-align: center; text-align: center;
@ -541,7 +541,7 @@ div#widgets-right .closed .widgets-sortables {
color: #666; color: #666;
background: #EEE; background: #EEE;
padding: 0 15px; padding: 0 15px;
line-height: 43px; line-height: 3.35;
border-left: 1px solid #DDD; border-left: 1px solid #DDD;
} }
@ -756,7 +756,7 @@ div#widgets-right .widget-top:hover,
right: 15px; right: 15px;
} }
.text-widget-fields .wp-pointer .wp-pointer-buttons { .text-widget-fields .wp-pointer .wp-pointer-buttons {
line-height: 1.4em; line-height: 1.4;
} }
.custom-html-widget-fields > p > .CodeMirror { .custom-html-widget-fields > p > .CodeMirror {

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-45052'; $wp_version = '5.2-beta1-45053';
/** /**
* 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.