WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26136, comment 5


Ignore:
Timestamp:
12/30/2013 10:08:11 PM (7 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26136, comment 5

    initial v1  
    1 I have not tested in a non OS X environment, but removing the `vertical-alignment` completely helps, though it doesn't completely fix it. I believe the problem is the height differences between `input` checkboxes and `select` drop-downs, namely that the `select`s are set to `28px` and checkboxes have none explicitly set.
     1I have only tested in OS X, but removing the `vertical-alignment` completely helps (though it doesn't completely fix the problem either.) The problem is the height differences between `input` (checkboxes) and `select` drop-downs, namely that the `select`s are set to `28px` and checkboxes are set to `16px`.
    22
    3 This forces the labels to wrap around a `28px` tall select, consequently distorting the wrapper label in a way that `input`s do not.
     3Since we're already reserving height and width settings for checkboxes to `16px` to handle the painting of the checkbox itself, setting the height to a matching `28px` isn't an option.
     4
     5Removing the `vertical-alignment` and `height` settings for `select` elements should do the trick, though it needs testing in other operating systems.