From e9f7b9a81db01c8c3104a9496a1dbd4363278044 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 30 May 2019 11:48:09 +0000 Subject: [PATCH] CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/forms.css`. Props ianbelanger, pbiron, afercia. Fixes #46512. See #44643. git-svn-id: https://develop.svn.wordpress.org/trunk@45464 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/forms.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 336d9c766f..f790875a48 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -116,7 +116,7 @@ td > input[type="checkbox"], input[type="radio"] { border-radius: 50%; margin-right: 4px; - line-height: 10px; + line-height: 0.71428571; } input[type="checkbox"]:checked:before, @@ -145,7 +145,7 @@ input[type="radio"]:checked:before { width: 6px; height: 6px; margin: 4px; - line-height: 16px; + line-height: 0.76190476; background-color: #1e8cbe; } @@ -310,7 +310,7 @@ input[type="radio"].disabled:checked:before { .wp-admin select { padding: 2px; - line-height: 28px; + line-height: 2; height: 28px; vertical-align: middle; } @@ -689,7 +689,7 @@ ul#add-to-blog-users { .form-table td fieldset label, .form-table td fieldset p, .form-table td fieldset li { - line-height: 1.4em; + line-height: 1.4; } .form-table input.tog, @@ -1113,7 +1113,7 @@ table.form-table td .updated p { } .tools-privacy-policy-page span { - line-height: 2em; + line-height: 2; } .privacy_requests .column-email { @@ -1298,7 +1298,7 @@ table.form-table td .updated p { width: 9px; height: 9px; margin: 7px; - line-height: 16px; + line-height: 0.76190476; } .wp-upload-form input[type="submit"] { @@ -1423,7 +1423,7 @@ table.form-table td .updated p { .form-table span.description { display: inline; padding: 4px 0 0; - line-height: 1.4em; + line-height: 1.4; font-size: 14px; }