Commit 5156234c authored by Mark Otto's avatar Mark Otto
Browse files

update grid col mixin to use latest css from grid cols

parent ca8ca217
Showing with 1 addition and 3 deletions
+1 -3
...@@ -443,9 +443,6 @@ ...@@ -443,9 +443,6 @@
// Generate the columns // Generate the columns
.make-column(@columns) { .make-column(@columns) {
position: relative; position: relative;
// Float and set width: 100%; for easy stacking on mobile devices
float: left;
width: 100%;
// Prevent columns from collapsing when empty // Prevent columns from collapsing when empty
min-height: 1px; min-height: 1px;
// Inner gutter via padding // Inner gutter via padding
...@@ -454,6 +451,7 @@ ...@@ -454,6 +451,7 @@
// Calculate width based on number of columns available // Calculate width based on number of columns available
@media (min-width: @grid-float-breakpoint) { @media (min-width: @grid-float-breakpoint) {
float: left;
width: percentage((@columns / @grid-columns)); width: percentage((@columns / @grid-columns));
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment