From 9ae86a20804fb9c45d1d4dd795e46d012d4da5cf Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Sat, 11 Jul 2015 19:27:50 +0000 Subject: [PATCH] Improve styling of `#adduser` text inputs on mobile devices. In [26134], `#createuser` inputs were made responsive, but `#adduser` was a straggler. This assigns the proper mobile style to the add user inputs and moves the initial declaration alongside create user for future maintenance ease. See #32846. git-svn-id: https://develop.svn.wordpress.org/trunk@33162 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/forms.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 3ceaa5b19d..26304353e3 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -358,8 +358,7 @@ textarea.large-text { width: 99%; } -input.regular-text, -#adduser .form-field input { +input.regular-text { width: 25em; } @@ -666,6 +665,7 @@ table.form-table td .updated p { width: 15em; } +#adduser .form-field input, #createuser .form-field input { width: 25em; } @@ -1036,6 +1036,7 @@ table.form-table td .updated p { font-size: 14px; } + #adduser .form-field input, #createuser .form-field input { width: 100%; }