diff options
| author | Mark Otto <[email protected]> | 2015-05-14 10:43:50 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-05-14 10:43:50 -0700 |
| commit | b6e6a05b951aac3fad30da441c765dbb86518644 (patch) | |
| tree | 8f68896a19da561d7804368075d6294712844700 | |
| parent | 801d6bdd00d8a5eda3e1bc4a2d4b15a0ba00ee3c (diff) | |
| parent | e24007c46dba472a5664056857469cf0b050cd11 (diff) | |
| download | bootstrap-b6e6a05b951aac3fad30da441c765dbb86518644.tar.xz bootstrap-b6e6a05b951aac3fad30da441c765dbb86518644.zip | |
Merge pull request #16472 from twbs/fixes_16346
Tweak temporal inputs
| -rw-r--r-- | less/forms.less | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less index cea6f669b..b064ede46 100644 --- a/less/forms.less +++ b/less/forms.less @@ -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 & { |
