]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
doc that uncollapsing mobile navbar requires JS; per #10506 11224/head
authorChris Rebert <code@rebertia.com>
Thu, 24 Oct 2013 22:16:02 +0000 (15:16 -0700)
committerChris Rebert <code@rebertia.com>
Thu, 24 Oct 2013 22:16:02 +0000 (15:16 -0700)
components.html

index a4319cbc5e79b4e11bdcb9862e9b5ee836069c7d..24ff8e56d3b1a816ab9d13188de02347ef70f78d 100644 (file)
@@ -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>