From efe514a8c2227696c823153f47f9ad390844debe Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 30 May 2019 12:14:11 +0000 Subject: [PATCH] CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/list-tables.css`. Props ianbelanger, pbiron, afercia. Fixes #46515. See #44643. git-svn-id: https://develop.svn.wordpress.org/trunk@45467 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/list-tables.css | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css index 6cfa72e087..256c7de520 100644 --- a/src/wp-admin/css/list-tables.css +++ b/src/wp-admin/css/list-tables.css @@ -58,7 +58,7 @@ background-color: #72777c; color: #fff; font-size: 11px; - line-height: 21px; + line-height: 1.90909090; text-align: center; } @@ -109,7 +109,7 @@ background: #ca4a1f; color: #fff; font-size: 9px; - line-height: 17px; + line-height: 1.88888888; text-align: center; } @@ -402,7 +402,7 @@ table.media .column-title .filename { } #commentsdiv .inside .row-actions { - line-height: 18px; + line-height: 1.38461538; } #commentsdiv .inside .column-author { @@ -460,7 +460,7 @@ table.media .column-title .filename { top: -4px; left: -8px; color: #444; - line-height: 10px; + line-height: 0.5; position: relative; vertical-align: top; -webkit-font-smoothing: antialiased; @@ -711,7 +711,7 @@ th.asc a:focus span.sorting-indicator { width: 28px; height: 28px; text-align: center; - line-height: 24px; + line-height: 1.84615384; text-decoration: none; } @@ -972,7 +972,7 @@ tr.inline-edit-row td, .inline-edit-row fieldset.inline-edit-date select { margin: 1px; - line-height: 28px; + line-height: 2; } .inline-edit-row fieldset label span.input-text-wrap, @@ -1166,7 +1166,7 @@ ul.cat-checklist { } .plugins td.desc { - line-height: 1.5em; + line-height: 1.5; } .plugins .desc ul, @@ -1522,7 +1522,7 @@ div.action-links, } .plugin-card .column-rating { - line-height: 23px; + line-height: 1.76923076; } .plugin-card .column-rating, @@ -1691,7 +1691,7 @@ div.action-links, .view-switch a { width: 36px; height: 36px; - line-height: 33px; + line-height: 2.53846153; } /* Pagination */ @@ -1742,7 +1742,7 @@ div.action-links, min-width: 44px; padding: 12px 6px; font-size: 16px; - line-height: 18px; + line-height: 1.125; } /* WP List Table Adjustments: General */