From 5670dd8930228af772157b933fe672ca5c5313ca Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 9 Nov 2014 15:04:32 -0800 Subject: [PATCH] comment and formatting --- less/forms.less | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/less/forms.less b/less/forms.less index c864e8465d..1bcc2b6b97 100644 --- a/less/forms.less +++ b/less/forms.less @@ -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"],