Commit b444582c authored by Mark Otto's avatar Mark Otto
Browse files

fixes #4671: mention collapsing parents in docs for affix plugin

parent 8610fd9b
Showing with 2 additions and 2 deletions
+2 -2
...@@ -1610,7 +1610,7 @@ $('.carousel').carousel({ ...@@ -1610,7 +1610,7 @@ $('.carousel').carousel({
<div class="alert alert-info"> <div class="alert alert-info">
<strong>Heads up!</strong> <strong>Heads up!</strong>
It's up to you to manage the position of a pinned element. This is done by styling <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>. You must manage the position of a pinned element and the behavior of its immediate parent. Position is controlled by <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>. Remember to check for a potentially collapsed parent when the affix kicks in as it's removing content from the normal flow of the page.
</div> </div>
<h3>Via JavaScript</h3> <h3>Via JavaScript</h3>
......
...@@ -1540,7 +1540,7 @@ $('.carousel').carousel({ ...@@ -1540,7 +1540,7 @@ $('.carousel').carousel({
<div class="alert alert-info"> <div class="alert alert-info">
<strong>{{_i}}Heads up!{{/i}}</strong> <strong>{{_i}}Heads up!{{/i}}</strong>
{{_i}}It's up to you to manage the position of a pinned element. This is done by styling <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>.{{/i}} {{_i}}You must manage the position of a pinned element and the behavior of its immediate parent. Position is controlled by <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>. Remember to check for a potentially collapsed parent when the affix kicks in as it's removing content from the normal flow of the page.{{/i}}
</div> </div>
<h3>{{_i}}Via JavaScript{{/i}}</h3> <h3>{{_i}}Via JavaScript{{/i}}</h3>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment