From 8f1d4525c27ebd309deb96d731f6961d486652d2 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Sun, 3 May 2020 13:34:26 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/themes.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 3bc589c18a..606b61d163 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -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 {