aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorThomas P. Horton <[email protected]>2015-04-23 20:06:54 -0700
committerThomas P. Horton <[email protected]>2015-04-23 20:06:54 -0700
commitc319d610e2043478fdcdba0f1f03daef784a410e (patch)
tree2b72abf65f4bf9ce17518e6fc3ada2c913c34d1e /less/forms.less
parent6ba595f3fffee275922c377a7cc1bc46fc5e58c1 (diff)
downloadbootstrap-c319d610e2043478fdcdba0f1f03daef784a410e.tar.xz
bootstrap-c319d610e2043478fdcdba0f1f03daef784a410e.zip
Round results from gutter division to prevent decimal margins and padding
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less
index 6dc1641b6..d1efabdab 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -576,7 +576,7 @@ input[type="checkbox"] {
// Reposition the icon because it's now within a grid column and columns have
// `position: relative;` on them. Also accounts for the grid gutter padding.
.has-feedback .form-control-feedback {
- right: (@grid-gutter-width / 2);
+ right: floor((@grid-gutter-width / 2));
}
// Form group sizes