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:
parent
a09531a40e
commit
abedd38c5b
10
css.html
10
css.html
@ -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 %}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user