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.

git-svn-id: https://develop.svn.wordpress.org/trunk@47271 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jorge Costa 2020-02-11 19:16:57 +00:00
parent 0ad4121c91
commit e608cd21ac
1 changed files with 7 additions and 0 deletions

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 */