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
abedd38c
Commit
abedd38c
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
update grid xs mixin and update docs to match new mixins
parent
a09531a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
css.html
+5
-5
css.html
less/mixins.less
+2
-2
less/mixins.less
with
7 additions
and
7 deletions
+7
-7
css.html
+
5
-
5
View file @
abedd38c
...
@@ -428,8 +428,8 @@ base_url: "../"
...
@@ -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: "../"
...
@@ -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 %}
...
...
This diff is collapsed.
Click to expand it.
less/mixins.less
+
2
-
2
View file @
abedd38c
...
@@ -469,8 +469,8 @@
...
@@ -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
...
...
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