]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
update grid col mixin to use latest css from grid cols
authorMark Otto <otto@github.com>
Fri, 28 Jun 2013 02:54:30 +0000 (19:54 -0700)
committerMark Otto <otto@github.com>
Fri, 28 Jun 2013 02:54:30 +0000 (19:54 -0700)
less/mixins.less

index 879836a8c6f258ed5ba7776821a74de085ecdc88..eb5cbb964baec981abaca29d497b13bf7308a960 100644 (file)
 // Generate the columns
 .make-column(@columns) {
   position: relative;
-  // Float and set width: 100%; for easy stacking on mobile devices
-  float: left;
-  width: 100%;
   // Prevent columns from collapsing when empty
   min-height: 1px;
   // Inner gutter via padding
 
   // Calculate width based on number of columns available
   @media (min-width: @grid-float-breakpoint) {
+    float: left;
     width: percentage((@columns / @grid-columns));
   }
 }