Skip to content

Commit

Permalink
Merge pull request #16472 from twbs/fixes_16346
Browse files Browse the repository at this point in the history
Tweak temporal inputs
  • Loading branch information
mdo committed May 14, 2015
2 parents 801d6bd + e24007c commit b6e6a05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,17 @@ input[type="search"] {
// 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. See https://bugs.webkit.org/show_bug.cgi?id=139848
//
// Note that as of 8.3, iOS doesn't support `datetime` or `week`.

@media screen and (-webkit-min-device-pixel-ratio: 0) {
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
line-height: @input-height-base;
&.form-control {
line-height: @input-height-base;
}

&.input-sm,
.input-group-sm & {
Expand Down

0 comments on commit b6e6a05

Please sign in to comment.