From 98a0e0eeed1cfb4e62ad79a341c9ca539f9927ef Mon Sep 17 00:00:00 2001 From: Anthony Burchell Date: Mon, 9 Nov 2020 23:32:21 +0000 Subject: [PATCH] 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 git-svn-id: https://develop.svn.wordpress.org/trunk@49553 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/media.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/wp-admin/css/media.css b/src/wp-admin/css/media.css index 26168424c1..7f09ba513b 100644 --- a/src/wp-admin/css/media.css +++ b/src/wp-admin/css/media.css @@ -201,6 +201,14 @@ 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 { width: auto;