diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index 8f81235b05..cbae1c5d68 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -3952,23 +3952,6 @@ img { } } -.options-media-php br { - display: none; -} - -@media screen and (max-width: 375px) { - .options-media-php input[type="number"][name*="_size_"] { - margin: 5px 0; - } - .options-media-php label[for*="_size_h"]:before { - content: ""; - display: block; - } - .options-media-php br { - display: block; - } -} - @media screen and (max-width: 320px) { /* Prevent default center alignment and larger font for the Right Now widget when the network dashboard is viewed on a small mobile device. */ diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 790bb97092..0f93e6bd81 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -438,7 +438,15 @@ fieldset label, vertical-align: middle; } -.options-media-php label[for*="_size_"], +.options-media-php [for*="_size_"] { + min-width: 10em; + vertical-align: baseline; +} + +.options-media-php .small-text[name*="_size_"] { + margin: 0 0 1em; +} + #misc-publishing-actions label { vertical-align: baseline; } diff --git a/src/wp-admin/options-media.php b/src/wp-admin/options-media.php index 4f585a10da..c45e8ccbd0 100644 --- a/src/wp-admin/options-media.php +++ b/src/wp-admin/options-media.php @@ -54,13 +54,15 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); -
+
+
-

/> -

+
+/> +