Skip to content

Commit

Permalink
comment and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Nov 9, 2014
1 parent 46d1bf8 commit 5670dd8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,11 @@ input[type="search"] {
// Special styles for iOS temporal inputs
//
// In Mobile Safari, setting `display: block` on temporal inputs causes the
// text within the input to become vertically misaligned.
// As a workaround, we set a pixel line-height that matches the
// given height of the input. Since this fucks up everything else, we have to
// appropriately reset it for Internet Explorer and the size variations.
// text within the input to become vertically misaligned. As a workaround, we
// set a pixel line-height that matches the given height of the input, but only
// for Safari.

@media screen and (-webkit-min-device-pixel-ratio:0) {
@media screen and (-webkit-min-device-pixel-ratio: 0) {
input[type="date"],
input[type="time"],
input[type="datetime-local"],
Expand Down

0 comments on commit 5670dd8

Please sign in to comment.