diff --git a/less/forms.less b/less/forms.less index e3fe6c3d2900e06d9f643bce5d16f37d2cc1a2bd..cb8a74fa1fb95e831f7f59a416c75100dbceef60 100644 --- a/less/forms.less +++ b/less/forms.less @@ -165,9 +165,11 @@ input[type="search"] { } -// Special styles for iOS date input +// Special styles for iOS temporal inputs // -// In Mobile Safari, date inputs require a pixel line-height that matches the +// 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.