diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css
index bd116288723dc..4a644974c50c4 100644
--- a/src/wp-admin/css/themes.css
+++ b/src/wp-admin/css/themes.css
@@ -1967,7 +1967,7 @@ body.full-overlay-active {
.theme-install-overlay .wp-full-overlay-header .button {
float: right;
- margin: 3px 10px 0 0; /* Vertically center 40px button in 45px header */
+ margin: 7px 10px 0 0; /* Vertically center 32px button in 45px header */
}
.theme-install-overlay .wp-full-overlay-sidebar {
@@ -2053,8 +2053,6 @@ body.full-overlay-active {
.theme-install-overlay .wp-full-overlay-header .button {
font-size: 13px;
- line-height: 2.15384615;
- min-height: 30px;
}
.theme-browser .theme .theme-actions .button {
diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php
index e9d217c0f7525..861eb87050814 100644
--- a/src/wp-admin/theme-install.php
+++ b/src/wp-admin/theme-install.php
@@ -487,18 +487,18 @@
$aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' );
?>
<# if ( ! data.active ) { #>
-
+
<# } else { #>
-
+
<# } #>
<# } else { #>
-
+
<# } #>
<# } else { #>
<# if ( data.compatible_wp && data.compatible_php ) { #>
-
+
<# } else { #>
-
+
<# } #>
<# } #>