From d5510519826391014e2e3181aa90414e745f3c20 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Fri, 25 Feb 2022 15:47:37 +0000 Subject: [PATCH] Administration: Further enhancements on small text fields after [52649]. This changeset replaces `#mailserver_port` to a more generic selector, fixes a coding standard issue, and adds a bigger margin to the field. Follow-up to [52649]. Props SergeyBiryukov, kebbet, pyrobd. Fixes #50177. git-svn-id: https://develop.svn.wordpress.org/trunk@52801 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/forms.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 005196c28c..6349c1e864 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -1528,8 +1528,8 @@ table.form-table td .updated p { margin: 0 3px; } - .form-table input[type='text']#mailserver_port.small-text { - margin-top: 3px; + .form-table .regular-text ~ input[type="text"].small-text { + margin-top: 5px; } #pass-strength-result {