aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-18 00:56:36 -0700
committerMark Otto <[email protected]>2013-07-18 00:56:36 -0700
commitd87431a29e6ca3e58df50209ba5f6d487cd1c780 (patch)
tree9ef6687a232ffc3902d407eb3c9f8c4412e608c4
parent0c45458fcc305d3fbb606a65c945ccf7af81acee (diff)
downloadbootstrap-d87431a29e6ca3e58df50209ba5f6d487cd1c780.tar.xz
bootstrap-d87431a29e6ca3e58df50209ba5f6d487cd1c780.zip
spacing and local var rename
-rw-r--r--less/mixins.less9
1 files changed, 5 insertions, 4 deletions
diff --git a/less/mixins.less b/less/mixins.less
index 18e9a5c8f..4dbfa83ef 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -442,8 +442,6 @@
.clearfix();
}
-// Make a grid
-
// Creates a wrapper for a series of columns
.make-row() {
// Then clear the floated columns
@@ -460,6 +458,7 @@
margin-right: (@grid-gutter-width / -2);
}
}
+
// Generate the columns
.make-column(@columns) {
position: relative;
@@ -475,6 +474,7 @@
width: percentage((@columns / @grid-columns));
}
}
+
// Generate the column offsets
.make-column-offset(@columns) {
@media (min-width: @grid-float-breakpoint) {
@@ -501,9 +501,10 @@
// Inner gutter via padding
padding-left: (@grid-gutter-width / 2);
padding-right: (@grid-gutter-width / 2);
- @max : (@grid-float-breakpoint - 1 );
+ @max-width: (@grid-float-breakpoint - 1);
+
// Calculate width based on number of columns available
- @media (max-width: @max) {
+ @media (max-width: @max-width) {
width: percentage((@columns / @grid-columns));
}
}