Themes: Ensure the Activate button in theme preview overlay on Add Themes screen has a consistent height.

Props afercia, pravinparmar2404, Toru, mukesh27.
Fixes #50316.
Built from https://develop.svn.wordpress.org/trunk@48143


git-svn-id: http://core.svn.wordpress.org/trunk@47912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-06-23 20:13:10 +00:00
parent c5b1a12a55
commit af0df40f6b
5 changed files with 11 additions and 13 deletions

View File

@ -1812,8 +1812,6 @@ body.full-overlay-active {
.theme-install-overlay .wp-full-overlay-header .button { .theme-install-overlay .wp-full-overlay-header .button {
float: left; float: left;
margin: 8px 0 0 10px; margin: 8px 0 0 10px;
/* 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 {
@ -1898,9 +1896,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 {

File diff suppressed because one or more lines are too long

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 {

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.5-alpha-48142'; $wp_version = '5.5-alpha-48143';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.