]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixed responsive navbar docs typo 9132/head
authorDave Wasmer <davewasmer@gmail.com>
Tue, 6 Aug 2013 03:02:15 +0000 (23:02 -0400)
committerDave Wasmer <davewasmer@gmail.com>
Tue, 6 Aug 2013 03:02:15 +0000 (23:02 -0400)
The example given contradicts itself. The comments in the code claim `.navbar-collapse` will be hidden until 768px+ wide, but the line beneath uses `.nav-collapse`. The latter seems to actually work with the collapse plugin.

components.html

index 289034060ef1942f5f55c4293c6be3274639b9f4..cabe4771df5733b77efa69d06e49297951817d28 100644 (file)
@@ -1312,7 +1312,7 @@ body { padding-bottom: 70px; }
     <!-- Be sure to leave the brand out there if you want it shown -->
     <a class="navbar-brand" href="#">Title</a>
 
-    <!-- Place everything within .navbar-collapse to hide it until above 768px -->
+    <!-- Place everything within .nav-collapse to hide it until above 768px -->
     <div class="nav-collapse collapse navbar-responsive-collapse">
       ...
     </div><!-- /.nav-collapse -->