diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 7d4bb848a129a..e736788460a23 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -1086,9 +1086,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { .upload-theme .wp-upload-form, .upload-plugin .wp-upload-form { - background: #f6f7f7; - border: 1px solid #c3c4c7; - padding: 30px; + position: relative; margin: 30px auto; display: inline-flex; justify-content: space-between; @@ -1097,7 +1095,16 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { .upload-theme .wp-upload-form input[type="file"], .upload-plugin .wp-upload-form input[type="file"] { - margin-right: 10px; + background: #f6f7f7; + border: 1px solid #c3c4c7; + margin: 0; + padding: 30px 128px 30px 30px; +} + +.upload-plugin .wp-upload-form input[type=submit], +.upload-theme .wp-upload-form input[type=submit] { + position: absolute; + right: 30px; } .upload-theme .install-help, @@ -2008,12 +2015,15 @@ body.full-overlay-active { padding-bottom: 4px; } - .upload-theme .wp-upload-form, - .upload-plugin .wp-upload-form { - display: block; + .upload-plugin .wp-upload-form input[type=file], + .upload-theme .wp-upload-form input[type=file] { + padding: 30px 30px 80px; } :is(.upload-theme, .upload-plugin) .wp-upload-form input[type="submit"] { - margin-top: 10px; + right: unset; + left: 30px; + bottom: 30px; + margin: 10px 0 0; } }