]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
doc how to change the collapsed mobile navbar breakpoint; fixes #13126 13222/head
authorChris Rebert <code@rebertia.com>
Fri, 28 Mar 2014 23:54:16 +0000 (16:54 -0700)
committerChris Rebert <code@rebertia.com>
Thu, 3 Apr 2014 20:31:55 +0000 (13:31 -0700)
docs/_includes/components/navbar.html

index ab78e58536d616048c619f2b3df04c0a7effce12..8f85b73d1361f0d0b2d4143c54ba8853c247e8e5 100644 (file)
     <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-info">
+    <h4>Changing the collapsed mobile navbar breakpoint</h4>
+    <p>The navbar collapses into its vertical mobile view when the viewport is narrower than <code>@grid-float-breakpoint</code>, and expands into its horizontal non-mobile view when the viewport is at least <code>@grid-float-breakpoint</code> in width. Adjust this variable in the Less source to control when the navbar collapses/expands. The default value is <code>768px</code> (the smallest "small" or "tablet" screen).</p>
+  </div>
 
   <div class="bs-example">
     <nav class="navbar navbar-default" role="navigation">