From bdffdf0eb6b9c0d07aeb6a5db7c1c66e6d8c8370 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 21 Oct 2015 21:54:42 +0000 Subject: [PATCH] Plugins: Improve the "Install Now" button vertical alignment in the Plugin Details modal dialog. Props paulwilde. Fixes #34199. git-svn-id: https://develop.svn.wordpress.org/trunk@35343 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/common.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index ddfaad3fb6..c084b2028c 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -2428,7 +2428,7 @@ div.action-links { left: 0; margin-right: 250px; /* FYI box */ padding: 10px 26px; - margin-bottom: -99930px; /* a bit less than the padding below to accommodate footer */ + margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */ padding-bottom: 99999px; /* equal height column trick */ } @@ -2437,13 +2437,12 @@ div.action-links { } #plugin-information .fyi { - display: block; float: right; position: relative; top: 0; right: 0; padding: 16px; - margin-bottom: -99930px; /* slightly less than the padding below to accommodate footer */ + margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */ padding-bottom: 99999px; /* equal height column trick */ width: 217px; border-left: 1px solid #ddd; @@ -2528,12 +2527,12 @@ div.action-links { } #plugin-information-footer { - padding: 15px 16px; + padding: 13px 16px; position: absolute; right: 0; bottom: 0; left: 0; - height: 28px; + height: 33px; /* 33+13+13+1=60 */ border-top: 1px solid #ddd; background: #f3f3f3; }