mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-26 06:13:07 +02:00
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;
|
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 */
|
||||||
|
2
wp-admin/css/themes-rtl.min.css
vendored
2
wp-admin/css/themes-rtl.min.css
vendored
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;
|
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 */
|
||||||
|
2
wp-admin/css/themes.min.css
vendored
2
wp-admin/css/themes.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user