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
0c45458f
Commit
0c45458f
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge branch 'patch-1' of
https://github.com/bassjobsen/bootstrap
into bassjobsen-patch-1
parents
f757cf4c
32119053
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/mixins.less
+15
-1
less/mixins.less
with
15 additions
and
1 deletion
+15
-1
less/mixins.less
+
15
-
1
View file @
0c45458f
...
@@ -492,7 +492,21 @@
...
@@ -492,7 +492,21 @@
}
}
}
}
// Generate the small columns
.make-small-column(@columns) {
position: relative;
float: left;
// Prevent columns from collapsing when empty
min-height: 1px;
// Inner gutter via padding
padding-left: (@grid-gutter-width / 2);
padding-right: (@grid-gutter-width / 2);
@max : (@grid-float-breakpoint - 1 );
// Calculate width based on number of columns available
@media (max-width: @max) {
width: percentage((@columns / @grid-columns));
}
}
// Framework mixins
// Framework mixins
// --------------------------------------------------
// --------------------------------------------------
...
...
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