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.


git-svn-id: https://develop.svn.wordpress.org/trunk@47750 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2020-05-03 13:34:26 +00:00
parent 5dbed96333
commit 8f1d4525c2

View File

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