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. Built from https://develop.svn.wordpress.org/trunk@35831 git-svn-id: http://core.svn.wordpress.org/trunk@35795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user