aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-09-06 21:25:33 -0700
committerMark Otto <[email protected]>2014-09-06 21:25:33 -0700
commit9f5660c3e3b3d392529d07c4f2cfe0aba2abbe89 (patch)
treee07d210532a9b56c33e822e307eec48be42eee57 /less
parentc20d00cf058a85dea22c6073623e93549bce32e0 (diff)
downloadbootstrap-9f5660c3e3b3d392529d07c4f2cfe0aba2abbe89.tar.xz
bootstrap-9f5660c3e3b3d392529d07c4f2cfe0aba2abbe89.zip
Fixes #14545: Avoid strange formatting on vendor prefixing for placeholder
Diffstat (limited to 'less')
-rw-r--r--less/mixins/vendor-prefixes.less9
1 files changed, 6 insertions, 3 deletions
diff --git a/less/mixins/vendor-prefixes.less b/less/mixins/vendor-prefixes.less
index e2008c8b2..31f8e2f7a 100644
--- a/less/mixins/vendor-prefixes.less
+++ b/less/mixins/vendor-prefixes.less
@@ -99,9 +99,12 @@
// 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
}