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:
parent
1b41572d4c
commit
d23bd49fdd
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-35829';
|
||||
$wp_version = '4.5-alpha-35831';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue