From c43d0272dc71234facdbb920e11e3848467eea95 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 23 Jun 2020 20:11:49 +0000 Subject: [PATCH] Themes: Ensure the Activate button in theme preview overlay on Add Themes screen has a consistent height. Props afercia, pravinparmar2404, Toru, mukesh27. Fixes #50316. git-svn-id: https://develop.svn.wordpress.org/trunk@48143 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/themes.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 7d87a06aeb..127ce2ebca 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -1811,8 +1811,6 @@ body.full-overlay-active { .theme-install-overlay .wp-full-overlay-header .button { float: right; margin: 8px 10px 0 0; - /* For when .theme-install is a span rather than a.button-primary (already installed theme) */ - line-height: 2; } .theme-install-overlay .wp-full-overlay-sidebar { @@ -1897,9 +1895,10 @@ body.full-overlay-active { width: 100%; } - .theme-install-overlay .wp-full-overlay-header .theme-install { - margin-top: 6px; - line-height: normal; + .theme-install-overlay .wp-full-overlay-header .button { + font-size: 13px; + line-height: 2.15384615; + min-height: 30px; } .theme-browser .theme .theme-actions .button {