mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-24 03:40:10 +00: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
|
// Generate the extra small columns
|
||||||
.make-column(@columns; @gutter: @grid-gutter-width) {
|
.make-xs-column(@columns; @gutter: @grid-gutter-width) {
|
||||||
position: relative;
|
position: relative;
|
||||||
// Prevent columns from collapsing when empty
|
// Prevent columns from collapsing when empty
|
||||||
min-height: 1px;
|
min-height: 1px;
|
||||||
@ -551,11 +551,11 @@ base_url: "../"
|
|||||||
.make-row();
|
.make-row();
|
||||||
}
|
}
|
||||||
.content-main {
|
.content-main {
|
||||||
.make-column(8);
|
.make-lg-column(8);
|
||||||
}
|
}
|
||||||
.content-secondary {
|
.content-secondary {
|
||||||
.make-column(3);
|
.make-lg-column(3);
|
||||||
.make-column-offset(1);
|
.make-lg-column-offset(1);
|
||||||
}
|
}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
|
@ -469,8 +469,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Generate the default columns
|
// Generate the extra small columns
|
||||||
.make-column(@columns; @gutter: @grid-gutter-width) {
|
.make-xs-column(@columns; @gutter: @grid-gutter-width) {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
// Prevent columns from collapsing when empty
|
// Prevent columns from collapsing when empty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user