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:
parent
07f0443526
commit
492b67cc74
@ -69,6 +69,7 @@ input[type="url"] {
|
|||||||
|
|
||||||
/* Vertically align the number selector with the input. */
|
/* Vertically align the number selector with the input. */
|
||||||
input[type="number"] {
|
input[type="number"] {
|
||||||
|
height: 28px;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1050,6 +1051,10 @@ table.form-table td .updated p {
|
|||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type="number"] {
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
input.code {
|
input.code {
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
Loading…
Reference in New Issue
Block a user