From 692ecb1f978f2da03c6a83cfcf4fed0b274ff550 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 28 Mar 2019 16:38:09 +0000 Subject: [PATCH] CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/widgets.css`. Props ianbelanger, audrasjb. Fixes #46531. See #44643. git-svn-id: https://develop.svn.wordpress.org/trunk@45053 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/widgets.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/css/widgets.css b/src/wp-admin/css/widgets.css index f1c3a3c251..8f365cf424 100644 --- a/src/wp-admin/css/widgets.css +++ b/src/wp-admin/css/widgets.css @@ -39,7 +39,7 @@ .widgets-holder-wrap .widget-inside { border-top: none; padding: 1px 15px 15px 15px; - line-height: 16px; + line-height: 1.2; } .widget.widget-dirty .widget-control-close-wrapper { @@ -89,7 +89,7 @@ border: 1px dashed #b4b9be; box-sizing: border-box; cursor: pointer; - line-height: 20px; + line-height: 1.6; padding: 9px 0; position: relative; text-align: center; @@ -541,7 +541,7 @@ div#widgets-right .closed .widgets-sortables { color: #666; background: #EEE; padding: 0 15px; - line-height: 43px; + line-height: 3.35; border-left: 1px solid #DDD; } @@ -756,7 +756,7 @@ div#widgets-right .widget-top:hover, right: 15px; } .text-widget-fields .wp-pointer .wp-pointer-buttons { - line-height: 1.4em; + line-height: 1.4; } .custom-html-widget-fields > p > .CodeMirror {