WordPress.org

Make WordPress Core

Changeset 35831


Ignore:
Timestamp:
12/08/2015 04:07:00 PM (4 years ago)
Author:
michaelarestad
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/forms.css

    r35316 r35831  
    7070/* Vertically align the number selector with the input. */
    7171input[type="number"] {
     72    height: 28px;
    7273    line-height: inherit;
    7374}
     
    10511052    }
    10521053
     1054    input[type="number"] {
     1055        height: 40px;
     1056    }
     1057
    10531058    input.code {
    10541059        padding-bottom: 5px;
Note: See TracChangeset for help on using the changeset viewer.