Upload: Fix Plugin and Theme upload form are misaligned.

This commit makes sure that when uploading a plugin or theme file, the Install Now button is correctly aligned, and the button does not drops to the next line if filename is long.

Props seedsca, SergeyBiryukov, audrasjb.
Fixes #48859.
Built from https://develop.svn.wordpress.org/trunk@47271


git-svn-id: http://core.svn.wordpress.org/trunk@47071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
jorgefilipecosta 2020-02-11 19:18:09 +00:00
parent 5a29f108e0
commit 40046869f3
5 changed files with 17 additions and 3 deletions

View File

@ -1050,7 +1050,14 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
padding: 30px; padding: 30px;
margin: 30px auto; margin: 30px auto;
max-width: 380px; max-width: 380px;
display: flex;
} }
.upload-theme .wp-upload-form > input[type="file"],
.upload-plugin .wp-upload-form > input[type="file"] {
padding: 5px 0 0 1em;
}
.upload-theme .install-help, .upload-theme .install-help,
.upload-plugin .install-help { .upload-plugin .install-help {
color: #555d66; /* #f1f1f1 background */ color: #555d66; /* #f1f1f1 background */

File diff suppressed because one or more lines are too long

View File

@ -1049,7 +1049,14 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
padding: 30px; padding: 30px;
margin: 30px auto; margin: 30px auto;
max-width: 380px; max-width: 380px;
display: flex;
} }
.upload-theme .wp-upload-form > input[type="file"],
.upload-plugin .wp-upload-form > input[type="file"] {
padding: 5px 1em 0 0;
}
.upload-theme .install-help, .upload-theme .install-help,
.upload-plugin .install-help { .upload-plugin .install-help {
color: #555d66; /* #f1f1f1 background */ color: #555d66; /* #f1f1f1 background */

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.4-alpha-47270'; $wp_version = '5.4-alpha-47271';
/** /**
* 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.