aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-11-09 15:04:32 -0800
committerMark Otto <[email protected]>2014-11-09 15:04:32 -0800
commit5670dd8930228af772157b933fe672ca5c5313ca (patch)
tree964cf509877a5eaaee7276bc7e157e7f01c0fea6 /less/forms.less
parent46d1bf8eefa5ca00357d7dd8f901ffb5c48c7be2 (diff)
downloadbootstrap-5670dd8930228af772157b933fe672ca5c5313ca.tar.xz
bootstrap-5670dd8930228af772157b933fe672ca5c5313ca.zip
comment and formatting
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less9
1 files changed, 4 insertions, 5 deletions
diff --git a/less/forms.less b/less/forms.less
index c864e8465..1bcc2b6b9 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"],