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

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


git-svn-id: http://core.svn.wordpress.org/trunk@45295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-05-30 16:45:50 +00:00
parent 412ffd0aaf
commit 0d40c54f9b
5 changed files with 15 additions and 15 deletions

View File

@ -100,7 +100,7 @@
.describe-toggle-on,
.describe-toggle-off {
display: block;
line-height: 36px;
line-height: 2.76923076;
float: left;
margin-left: 10px;
}
@ -132,7 +132,7 @@
}
.media-item .filename {
line-height: 36px;
line-height: 2.76923076;
overflow: hidden;
margin-right: 6px;
}
@ -239,7 +239,7 @@
height: 36px;
font-size: 18px;
font-weight: 600;
line-height: 36px;
line-height: 2;
padding: 0 16px 0 36px;
position: absolute;
top: 0;
@ -755,7 +755,7 @@ border color while dragging a file over the uploader drop area */
.edit-attachment-frame input,
.edit-attachment-frame textarea {
padding: 6px 8px;
line-height: 16px;
line-height: 1.14285714;
}
.edit-attachment-frame .attachment-info {
@ -940,7 +940,7 @@ border color while dragging a file over the uploader drop area */
background: #f1f1f1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 16px;
line-height: 1.23076923;
color: #72777c;
}
@ -1164,7 +1164,7 @@ audio, video {
@media screen and (max-width: 782px) {
.wp_attachment_details label[for="content"] {
font-size: 14px;
line-height: 1.5em;
line-height: 1.5;
}
.media-upload-form .media-item.error,

File diff suppressed because one or more lines are too long

View File

@ -100,7 +100,7 @@
.describe-toggle-on,
.describe-toggle-off {
display: block;
line-height: 36px;
line-height: 2.76923076;
float: right;
margin-right: 10px;
}
@ -132,7 +132,7 @@
}
.media-item .filename {
line-height: 36px;
line-height: 2.76923076;
overflow: hidden;
margin-left: 6px;
}
@ -239,7 +239,7 @@
height: 36px;
font-size: 18px;
font-weight: 600;
line-height: 36px;
line-height: 2;
padding: 0 36px 0 16px;
position: absolute;
top: 0;
@ -755,7 +755,7 @@ border color while dragging a file over the uploader drop area */
.edit-attachment-frame input,
.edit-attachment-frame textarea {
padding: 6px 8px;
line-height: 16px;
line-height: 1.14285714;
}
.edit-attachment-frame .attachment-info {
@ -940,7 +940,7 @@ border color while dragging a file over the uploader drop area */
background: #f1f1f1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 16px;
line-height: 1.23076923;
color: #72777c;
}
@ -1164,7 +1164,7 @@ audio, video {
@media screen and (max-width: 782px) {
.wp_attachment_details label[for="content"] {
font-size: 14px;
line-height: 1.5em;
line-height: 1.5;
}
.media-upload-form .media-item.error,

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45483';
$wp_version = '5.3-alpha-45484';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.