From 1c1a9de8349b30bcbd312ba80655ae874a8e82f8 Mon Sep 17 00:00:00 2001 From: Jake Spurlock Date: Fri, 17 Jul 2020 06:27:09 +0000 Subject: [PATCH] Plugins: Update the height of the Install Now button for new plugins. Due to Thickbox shenanigans, the buttons height needed to be shrunk a little to center properly in the iframe. Fixes #49828. Props ibachal, Otto42, afercia. git-svn-id: https://develop.svn.wordpress.org/trunk@48503 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/common.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index fed4adb52b..10e8b2bdb8 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -2637,7 +2637,7 @@ div.action-links { margin-top: 10px; margin-right: 250px; /* FYI box */ padding: 10px 26px; - margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */ + margin-bottom: -99932px; /* 67px less than the padding below to accommodate footer height */ padding-bottom: 99999px; /* equal height column trick */ } @@ -2655,7 +2655,7 @@ div.action-links { top: 0; right: 0; padding: 16px; - margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */ + margin-bottom: -99932px; /* 67px less than the padding below to accommodate footer height */ padding-bottom: 99999px; /* equal height column trick */ width: 217px; border-left: 1px solid #ddd; @@ -2749,7 +2749,7 @@ div.action-links { right: 0; bottom: 0; left: 0; - height: 33px; /* 33+13+13+1=60 */ + height: 40px; /* actual height: 40+13+13+1=67 */ border-top: 1px solid #ddd; background: #f3f3f3; }