Skip to content

Commit

Permalink
(less) Fixes twbs#11266: Apply a pixel-based line-height to date inpu…
Browse files Browse the repository at this point in the history
…ts for iOS 7
  • Loading branch information
mdo committed Dec 15, 2013
1 parent 5cc57b0 commit a85aa69
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,14 @@ output {
}
}

// Special styles for iOS date input
//
// In Mobile Safari, date inputs require a pixel line-height that matches the
// given height of the input.
input[type="date"] {
line-height: @input-height-base;
}


// Form groups
//
Expand Down

0 comments on commit a85aa69

Please sign in to comment.