]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #14545: Avoid strange formatting on vendor prefixing for placeholder
authorMark Otto <otto@github.com>
Sun, 7 Sep 2014 04:25:33 +0000 (21:25 -0700)
committerMark Otto <otto@github.com>
Sun, 7 Sep 2014 04:25:33 +0000 (21:25 -0700)
less/mixins/vendor-prefixes.less

index e2008c8b2e1b6f7c9e65688e6e3714de87260949..31f8e2f7ab1e1aa7cef64d60602dba8a54892d7c 100644 (file)
 
 // Placeholder text
 .placeholder(@color: @input-color-placeholder) {
-  &::-moz-placeholder           { color: @color;   // Firefox
-                                  opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526
-  &:-ms-input-placeholder       { color: @color; } // Internet Explorer 10+
+  // Firefox
+  &::-moz-placeholder {
+    color: @color;
+    opacity: 1; // See https://github.com/twbs/bootstrap/pull/11526
+  }
+  &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
   &::-webkit-input-placeholder  { color: @color; } // Safari and Chrome
 }