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:
parent
5a29f108e0
commit
40046869f3
|
@ -1050,7 +1050,14 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
|||
padding: 30px;
|
||||
margin: 30px auto;
|
||||
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-plugin .install-help {
|
||||
color: #555d66; /* #f1f1f1 background */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1049,7 +1049,14 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
|||
padding: 30px;
|
||||
margin: 30px auto;
|
||||
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-plugin .install-help {
|
||||
color: #555d66; /* #f1f1f1 background */
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue