]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
_forms.scss: Use division instead of fractional multiplication 19125/head
authorChris Rebert <github@chrisrebert.com>
Mon, 8 Feb 2016 11:34:24 +0000 (03:34 -0800)
committerChris Rebert <github@chrisrebert.com>
Mon, 8 Feb 2016 11:34:24 +0000 (03:34 -0800)
[skip sauce]
[skip validator]

scss/_forms.scss

index 35c9af7ffb50134dd9b7b595814b6bf23a008157..26fbb19eaaf8fffdd6119be6e18e138b3fb8d699 100644 (file)
@@ -256,8 +256,8 @@ input[type="checkbox"] {
 .form-control-danger {
   padding-right: ($input-padding-x * 3);
   background-repeat: no-repeat;
-  background-position: center right ($input-height * .25);
-  background-size: ($input-height * .5) ($input-height * .5);
+  background-position: center right ($input-height / 4);
+  background-size: ($input-height / 2) ($input-height / 2);
 }
 
 // Form validation states