From 26e29a513a3e1bcb39b945633a67537dd58187f6 Mon Sep 17 00:00:00 2001 From: Jake Spurlock Date: Fri, 10 Jul 2020 06:46:03 +0000 Subject: [PATCH] Administration: Better align labels on the discussion options page. The labels for Comment Moderation, and Comment Blocklist are now aligned properly with the adjacent text. Fixes #37384. Props ankit-k-gupta, karmatosed, FolioVision, desrosj, valentinbora, samful, whyisjake. git-svn-id: https://develop.svn.wordpress.org/trunk@48419 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/forms.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 85ce30eae6..0aa63f1f52 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -466,6 +466,10 @@ input.small-text { padding: 0 6px; } +label input.small-text { + margin-top: -4px; +} + input[type="number"].small-text { width: 65px; padding-right: 0; @@ -748,10 +752,14 @@ ul#add-to-blog-users { } .form-table td fieldset label { - margin: 0.25em 0 0.5em !important; + margin: 0.35em 0 0.5em !important; display: inline-block; } +.form-table td fieldset p label { + margin-top: 0 !important; +} + .form-table td fieldset label, .form-table td fieldset p, .form-table td fieldset li {