aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-02-08 12:54:11 -0800
committerChris Rebert <[email protected]>2016-02-08 12:54:11 -0800
commit950706dbf9556a080d3754c32b76dee2fbaf68d7 (patch)
tree1c91b53ff07d3b19448749afec648e92a1061f95 /scss
parent3c8e08e3079dcfee1f8804c4015636b52289235b (diff)
parent8141835682a986818014cb49a5c8ebd761b14c88 (diff)
downloadbootstrap-950706dbf9556a080d3754c32b76dee2fbaf68d7.tar.xz
bootstrap-950706dbf9556a080d3754c32b76dee2fbaf68d7.zip
Merge pull request #19125 from twbs/division
_forms.scss: Use division instead of fractional multiplication
Diffstat (limited to 'scss')
-rw-r--r--scss/_forms.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/_forms.scss b/scss/_forms.scss
index 35c9af7ff..26fbb19ea 100644
--- a/scss/_forms.scss
+++ b/scss/_forms.scss
@@ -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