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
This commit is contained in:
Sergey Biryukov 2020-06-23 20:11:49 +00:00
parent 19c9963d9d
commit c43d0272dc

View File

@ -1811,8 +1811,6 @@ body.full-overlay-active {
.theme-install-overlay .wp-full-overlay-header .button { .theme-install-overlay .wp-full-overlay-header .button {
float: right; float: right;
margin: 8px 10px 0 0; 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 { .theme-install-overlay .wp-full-overlay-sidebar {
@ -1897,9 +1895,10 @@ body.full-overlay-active {
width: 100%; width: 100%;
} }
.theme-install-overlay .wp-full-overlay-header .theme-install { .theme-install-overlay .wp-full-overlay-header .button {
margin-top: 6px; font-size: 13px;
line-height: normal; line-height: 2.15384615;
min-height: 30px;
} }
.theme-browser .theme .theme-actions .button { .theme-browser .theme .theme-actions .button {