2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

fuck everything about .clear_float() -- restore .clearfix() as mixin

This commit is contained in:
Mark Otto
2013-03-30 13:23:18 -07:00
parent 8d8f4e0cdd
commit aee25786a7
10 changed files with 132 additions and 17 deletions
+3 -3
View File
@@ -16,7 +16,7 @@
// that are clearfixed.
// 2. The use of `table` rather than `block` is only necessary if using
// `:before` to contain the top-margins of child elements.
.clear_float() {
.clearfix() {
&:before,
&:after {
content: " "; /* 1 */
@@ -400,7 +400,7 @@
.container-fixed() {
margin-right: auto;
margin-left: auto;
.clear_float();
.clearfix();
}
// Make a grid
@@ -411,7 +411,7 @@
margin-left: (@grid-gutter-width / -2);
margin-right: (@grid-gutter-width / -2);
// Then clear the floated columns
.clear_float();
.clearfix();
}
// Generate the columns
.make-column(@columns) {