0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

update grid xs mixin and update docs to match new mixins

This commit is contained in:
Mark Otto 2013-08-12 11:52:51 -07:00
parent a09531a40e
commit abedd38c5b
2 changed files with 7 additions and 7 deletions

View File

@ -428,8 +428,8 @@ base_url: "../"
}
}
// Generate the columns
.make-column(@columns; @gutter: @grid-gutter-width) {
// Generate the extra small columns
.make-xs-column(@columns; @gutter: @grid-gutter-width) {
position: relative;
// Prevent columns from collapsing when empty
min-height: 1px;
@ -551,11 +551,11 @@ base_url: "../"
.make-row();
}
.content-main {
.make-column(8);
.make-lg-column(8);
}
.content-secondary {
.make-column(3);
.make-column-offset(1);
.make-lg-column(3);
.make-lg-column-offset(1);
}
{% endhighlight %}
{% highlight html %}

View File

@ -469,8 +469,8 @@
}
}
// Generate the default columns
.make-column(@columns; @gutter: @grid-gutter-width) {
// Generate the extra small columns
.make-xs-column(@columns; @gutter: @grid-gutter-width) {
position: relative;
float: left;
// Prevent columns from collapsing when empty