aboutsummaryrefslogtreecommitdiff
path: root/components.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-10-26 01:17:53 -0700
committerMark Otto <[email protected]>2013-10-26 01:17:53 -0700
commitf47510b1722f9ce654c293c7d9d5ab0828be1167 (patch)
tree64ef0a00e2f20fa6c9666348059c743d4bb20624 /components.html
parentabc50a7e9de63b72475845c0c5faf095db4d484b (diff)
parent91fa801d33f077ae86095c3d99c1c76a7021a6ff (diff)
downloadbootstrap-f47510b1722f9ce654c293c7d9d5ab0828be1167.tar.xz
bootstrap-f47510b1722f9ce654c293c7d9d5ab0828be1167.zip
Merge pull request #11224 from twbs/10506-doc
Document that uncollapsing the mobile navbar requires JS
Diffstat (limited to 'components.html')
-rw-r--r--components.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/components.html b/components.html
index a4319cbc5..24ff8e56d 100644
--- a/components.html
+++ b/components.html
@@ -2021,6 +2021,10 @@ base_url: "../"
<h4>Customize the collapsing point</h4>
<p>Depending on the content in your navbar, you might need to change the point at which your navbar switches between collapsed and horizontal mode. Customize the <code>@grid-float-breakpoint</code> variable or add your own media query.</p>
</div>
+ <div class="bs-callout bs-callout-danger">
+ <h4>Requires JavaScript</h4>
+ <p>If JavaScript is disabled and the viewport is narrow enough that the navbar collapses, it will be impossible to expand the navbar and view the content within the <code>.navbar-collapse</code>.</p>
+ </div>
<div class="bs-callout bs-callout-warning" id="multiple-navbars-warning">
<h4>Multiple navbars require custom code</h4>
<p>Multiple nearby navbars with dropdown menus are not supported by default. You will need to override the <code>z-index</code>es of the dropdown menus yourself. Otherwise, the dropdown menu will display behind the other navbar.</p>