aboutsummaryrefslogtreecommitdiff
path: root/docs/css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-02-08 16:01:56 -0800
committerMark Otto <[email protected]>2014-02-08 16:01:56 -0800
commite3cfd5821db94df0d6eb483d1f859da9dddd55a8 (patch)
tree8af2dc5a1442b8974ecc7809ca516f2c67fde39b /docs/css.html
parent08ff305ed7ba689238d4524b0285d37d15aaf8fa (diff)
parent842af44fccb338f165eb2ea64bdaffd999850881 (diff)
downloadbootstrap-e3cfd5821db94df0d6eb483d1f859da9dddd55a8.tar.xz
bootstrap-e3cfd5821db94df0d6eb483d1f859da9dddd55a8.zip
Merge branch 'master' into pr/12462
Conflicts: dist/css/bootstrap.css.map dist/css/bootstrap.min.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css
Diffstat (limited to 'docs/css.html')
-rw-r--r--docs/css.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/docs/css.html b/docs/css.html
index 2a2d50097..f5e6596f3 100644
--- a/docs/css.html
+++ b/docs/css.html
@@ -76,11 +76,6 @@ lead: "Global CSS settings, fundamental HTML elements styled and enhanced with e
</ul>
<p>Look to the examples for applying these principles to your code.</p>
- <div class="bs-callout bs-callout-info">
- <h4>Grids and full-width layouts</h4>
- <p>Folks looking to create fully fluid layouts (meaning your site stretches the entire width of the viewport) must wrap their grid content in a containing element with <code>padding: 0 15px;</code> to offset the <code>margin: 0 -15px;</code> used on <code>.row</code>s.</p>
- </div>
-
<h3 id="grid-media-queries">Media queries</h3>
<p>We use the following media queries in our Less files to create the key breakpoints in our grid system.</p>
{% highlight scss %}
@@ -3245,7 +3240,7 @@ a {
<p>Easily truncate text with an ellipsis with a single mixin. <strong>Requires element to be <code>block</code> or <code>inline-block</code> level.</strong></p>
{% highlight scss %}
// Mixin
-.text-truncate() {
+.text-overflow() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@@ -3255,7 +3250,7 @@ a {
.branch-name {
display: inline-block;
max-width: 200px;
- .text-truncate();
+ .text-overflow();
}
{% endhighlight %}