From dc90d4217cd95f6208de769b2e4de5d6333d1ea3 Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Mon, 20 Jul 2015 19:00:29 +0000 Subject: [PATCH] Passwords: Use small screen styles for all small screens. H/t johnjamesjacoby. Introduced in [33206]. See #32589. git-svn-id: https://develop.svn.wordpress.org/trunk@33331 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/forms.css | 40 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index be3c17f096..8e931a6e55 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -1205,26 +1205,6 @@ table.form-table td .updated p { .form-field #domain { max-width: none; } -} - -@media only screen and (max-width: 768px) { - .form-field input[type="text"], - .form-field input[type="email"], - .form-field input[type="password"], - .form-field select, - .form-field textarea { - width: 99%; - } - - .form-wrap .form-field { - padding:0; - } - - /* users */ - #profile-page .form-table textarea { - max-width: 400px; - width: auto; - } /* New Password */ .wp-pwd { @@ -1260,6 +1240,26 @@ table.form-table td .updated p { } } +@media only screen and (max-width: 768px) { + .form-field input[type="text"], + .form-field input[type="email"], + .form-field input[type="password"], + .form-field select, + .form-field textarea { + width: 99%; + } + + .form-wrap .form-field { + padding:0; + } + + /* users */ + #profile-page .form-table textarea { + max-width: 400px; + width: auto; + } +} + @media only screen and (max-height: 480px) { /* Request Credentials */ .request-filesystem-credentials-dialog .notification-dialog{