aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-15 21:51:41 -0700
committerMark Otto <[email protected]>2013-08-15 21:51:41 -0700
commit2fa0975956f646be627aaa4732527f6de5335a2c (patch)
tree89cbf1dd5631cde156cf204a50e83d6c95b6bd40
parente04590babb90c0ca009e7fbcf3bd8de26680eb3f (diff)
downloadbootstrap-2fa0975956f646be627aaa4732527f6de5335a2c.tar.xz
bootstrap-2fa0975956f646be627aaa4732527f6de5335a2c.zip
don't scope width on .make-xs-column mixin
-rw-r--r--less/mixins.less7
1 files changed, 1 insertions, 6 deletions
diff --git a/less/mixins.less b/less/mixins.less
index 497dbf201..f726b9402 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -550,17 +550,12 @@
.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