Media: Adjusts alignment of file name text in browser uploader.

Sets a defined size for text alongside the media browser uploader button fixing alignment on popular browsers.

Props krupajnanda, mikeschroder, aaroncampbell, lucagrandicelli, andraganescu, samful, sabernhardt, andystitt829, kburgoine.
Fixes #41648

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


git-svn-id: http://core.svn.wordpress.org/trunk@49291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
antpb 2020-11-09 23:34:09 +00:00
parent c57ce00691
commit 4f2e88a574
5 changed files with 19 additions and 3 deletions

View File

@ -202,6 +202,14 @@
display: block; display: block;
} }
#html-upload-ui #async-upload {
font-size: 1em;
}
#html-upload-ui #async-upload {
font-size: 13px;
}
.media-upload-form .media-item.error, .media-upload-form .media-item.error,
.media-upload-form .media-item .error { .media-upload-form .media-item .error {
width: auto; width: auto;

File diff suppressed because one or more lines are too long

View File

@ -201,6 +201,14 @@
display: block; display: block;
} }
#html-upload-ui #async-upload {
font-size: 1em;
}
#html-upload-ui #async-upload {
font-size: 13px;
}
.media-upload-form .media-item.error, .media-upload-form .media-item.error,
.media-upload-form .media-item .error { .media-upload-form .media-item .error {
width: auto; width: auto;

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.6-beta3-49552'; $wp_version = '5.6-beta3-49553';
/** /**
* 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.