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
This commit is contained in:
Michael Arestad 2015-12-08 16:07:00 +00:00
parent 07f0443526
commit 492b67cc74

View File

@ -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;