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:
parent
ca8ca2177f
commit
5156234c23
1 changed files with 1 additions and 3 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue