Upload: Improve file input and button alignment in plugin/theme upload form.

Resets flexbox on smaller screens. Improves vertical alignment on large screens.
Follow-up to [47599] and [47271].

Props mukesh27, DarkoG.
See #48859, #49914.
Fixes #49951.

Built from https://develop.svn.wordpress.org/trunk@47750


git-svn-id: http://core.svn.wordpress.org/trunk@47526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2020-05-03 13:36:12 +00:00
parent 72ef4ae81a
commit bc3cee1d5b
5 changed files with 17 additions and 5 deletions

View File

@ -1061,6 +1061,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
max-width: 380px; max-width: 380px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center;
} }
.upload-theme .install-help, .upload-theme .install-help,
@ -1919,6 +1920,11 @@ body.full-overlay-active {
padding-top: 4px; padding-top: 4px;
padding-bottom: 4px; padding-bottom: 4px;
} }
.upload-theme .wp-upload-form,
.upload-plugin .wp-upload-form {
display: block;
}
} }
@media aural { @media aural {

File diff suppressed because one or more lines are too long

View File

@ -1060,6 +1060,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
max-width: 380px; max-width: 380px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center;
} }
.upload-theme .install-help, .upload-theme .install-help,
@ -1918,6 +1919,11 @@ body.full-overlay-active {
padding-top: 4px; padding-top: 4px;
padding-bottom: 4px; padding-bottom: 4px;
} }
.upload-theme .wp-upload-form,
.upload-plugin .wp-upload-form {
display: block;
}
} }
@media aural { @media aural {

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-47749'; $wp_version = '5.5-alpha-47750';
/** /**
* 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.