]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
don't scope width on .make-xs-column mixin
authorMark Otto <otto@github.com>
Fri, 16 Aug 2013 04:51:41 +0000 (21:51 -0700)
committerMark Otto <otto@github.com>
Fri, 16 Aug 2013 04:51:41 +0000 (21:51 -0700)
less/mixins.less

index 497dbf201ce979a7b13cd89c47dfed95fe64e388..f726b9402d2c80f7afb44e75b976d60c07c3c5c7 100644 (file)
 .make-xs-column(@columns; @gutter: @grid-gutter-width) {
   position: relative;
   float: left;
+  width: percentage((@columns / @grid-columns));
   // Prevent columns from collapsing when empty
   min-height: 1px;
   // Inner gutter via padding
   padding-left:  (@gutter / 2);
   padding-right: (@gutter / 2);
-  @max-width: (@screen-small - 1);
-
-  // Calculate width based on number of columns available
-  @media (max-width: @max-width) {
-    width: percentage((@columns / @grid-columns));
-  }
 }
 
 // Generate the small columns