From 492b67cc74f6048f1749c9c7f5ceab99a187cc8f Mon Sep 17 00:00:00 2001 From: Michael Arestad Date: Tue, 8 Dec 2015 16:07:00 +0000 Subject: [PATCH] Administration: Adds a height to number inputs. Number inputs didn't match the height of other form elements. Now they have a height of 28px and 40px on mobile. Both align with the sizes of other elements. Props valendesigns. Fixes #28984. git-svn-id: https://develop.svn.wordpress.org/trunk@35831 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/forms.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index d1ec601b12..7f9b9c565e 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -69,6 +69,7 @@ input[type="url"] { /* Vertically align the number selector with the input. */ input[type="number"] { + height: 28px; line-height: inherit; } @@ -1050,6 +1051,10 @@ table.form-table td .updated p { padding: 6px 10px; } + input[type="number"] { + height: 40px; + } + input.code { padding-bottom: 5px; padding-top: 10px;