1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

update grid col mixin to use latest css from grid cols

This commit is contained in:
Mark Otto 2013-06-27 19:54:30 -07:00
parent ca8ca2177f
commit 5156234c23

View file

@ -443,9 +443,6 @@
// 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
@ -454,6 +451,7 @@
// Calculate width based on number of columns available
@media (min-width: @grid-float-breakpoint) {
float: left;
width: percentage((@columns / @grid-columns));
}
}