]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
spacing and local var rename
authorMark Otto <otto@github.com>
Thu, 18 Jul 2013 07:56:36 +0000 (00:56 -0700)
committerMark Otto <otto@github.com>
Thu, 18 Jul 2013 07:56:36 +0000 (00:56 -0700)
less/mixins.less

index 18e9a5c8f9b760e5f25f950e1e96ca78f33a5f54..4dbfa83ef5cd6bad7bf65ee4328bae0d36bc9e45 100644 (file)
   .clearfix();
 }
 
-// Make a grid
-
 // Creates a wrapper for a series of columns
 .make-row() {
   // Then clear the floated columns
     margin-right: (@grid-gutter-width / -2);
   }
 }
+
 // Generate the columns
 .make-column(@columns) {
   position: relative;
     width: percentage((@columns / @grid-columns));
   }
 }
+
 // Generate the column offsets
 .make-column-offset(@columns) {
   @media (min-width: @grid-float-breakpoint) {
   // 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));
   }
 }