Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
5156234c
Commit
5156234c
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
update grid col mixin to use latest css from grid cols
parent
ca8ca217
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/mixins.less
+1
-3
less/mixins.less
with
1 addition
and
3 deletions
+1
-3
less/mixins.less
+
1
-
3
View file @
5156234c
...
@@ -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));
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment