2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Round results from gutter division to prevent decimal margins and padding

This commit is contained in:
Thomas P. Horton
2015-04-23 20:06:54 -07:00
parent 6ba595f3ff
commit c319d610e2
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -13,8 +13,8 @@
// Creates a wrapper for a series of columns
.make-row(@gutter: @grid-gutter-width) {
margin-left: (@gutter / -2);
margin-right: (@gutter / -2);
margin-left: ceil((@gutter / -2));
margin-right: floor((@gutter / -2));
&:extend(.clearfix all);
}